Function isOdd checks passed number's parity and returns true, if number is odd.
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 Odd.
Example
Basic usage of checking parinty by isOdd function:
Function isOdd checks passed number's parity and returns true, if number is odd.
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 Odd.
Example
Basic usage of checking parinty by
isOdd
function: