Returns the prime number that succeeds the inputted number.
Number
// Returns 541const prime = Chalkboard.numb.nextPrime(523); Copy
// Returns 541const prime = Chalkboard.numb.nextPrime(523);
Generated using TypeDoc
Returns the prime number that succeeds the inputted number.