pub fn is_prime(number: i128) -> bool
Expand description

is_prime function: Takes an i128 integer number as input and returns a boolean indicating whether number is a prime or not. The function checks if the input number is less than or equal to 1, returning false if true, then iterates through all integers within the range of 2 to number (exclusive), checking if they are divisible by number. If a divisor is found, the function returns false. If no divisor is found, it returns true.