Syntax
isprime(number)
Description
The isprime() function returns true if number given is a prime number, false if it’s not.
Example
include("math") println(isprime(3)) println(isprime(4)) true false
isprime(number)
The isprime() function returns true if number given is a prime number, false if it’s not.
include("math") println(isprime(3)) println(isprime(4)) true false