Expand description
Returns true if the given number is prime.
Note that this solution is not efficient. If you want to test lots of and/or large numbers, use a more efficient solution.
Examples
let number = 23;
let answer = jabba_lib::jmath::is_prime(number);
assert_eq!(answer, true);