isPrime

Utils
Name: isPrime

Category: Utils

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

Syntax:
    isPrime(x)

Examples:
    isPrime(3)
        true
    isPrime(-2)
        false
    isPrime([2, 17, 100])
        [true, true, false]

See also: isInteger, isNumeric, isNegative, isZero