isPrime

isPrime(x)

Test whether a value is prime: has no divisors other than itself and one.

Try it yourself:

All functions