Function is_prime

Source
pub fn is_prime(n: i64) -> bool
Expand description

Assuming x >= 0, returns whether x is prime