Tests if a number is prime.
value to test
boolean indicating whether the value is a prime number
var bool = isPrime( 11.0 ); // returns true
var bool = isPrime( 3.14 ); // returns false
Tests if a number is prime.