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

    Parameters

    • inf: number

      Lower bound

    • sup: number

      Upper bound

    Returns number[]

    Example

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

Generated using TypeDoc