• Returns the prime number that succeeds the inputted number.

    Parameters

    • num: number

      Number

    Returns number

    Example

    // Returns 541
    const prime = Chalkboard.numb.nextPrime(523);

Generated using TypeDoc