value to test
boolean indicating whether the value is an odd number
var bool = isOdd( 5.0 );
// returns true
var bool = isOdd( -2.0 );
// returns false
var bool = isOdd( 0.0 );
// returns false
var bool = isOdd( NaN );
// returns false
Tests if a finite numeric value is an odd number.
Notes
true
, when, in fact, the result is undefined.