Skip to main content

Module parity

Module parity 

Source

Functionsยง

is_even
Returns whether value is evenly divisible by two.
is_odd
Returns whether value leaves a remainder of one when divided by two.