Function isEven checks passed number's parity and returns true, if number is even.
Remarks
Applications to check number's parity are very common. This function therefore helps
to correctly check for all possible situations happening in JS world and returns true,
when passed number is really Even.
Example
Basic usage of checking parinty by isEven function:
Function isEven checks passed number's parity and returns true, if number is even.
Remarks
Applications to check number's parity are very common. This function therefore helps to correctly check for all possible situations happening in JS world and returns true, when passed number is really Even.
Example
Basic usage of checking parinty by
isEven
function: