The number to check.
A boolean indicating whether the number is even.
This function will throw an error if the provided value is not an integer.
Will throw an error if the provided value is not an integer.
isEven(2);
//=> true
isEven(3);
//=> false
Generated using TypeDoc
Checks if a number is even.