Returns an array of composite numbers between the lower and upper bounds.

// Returns the array [0, 1, 4, ... , 996, 998, 999]
const arr = Chalkboard.numb.compositeArr(0, 1000);
  • Parameters

    • inf: number

      Lower bound

    • sup: number

      Upper bound

    Returns number[]