value to test
boolean indicating whether the value is a negative integer
var bool = isNegativeInteger( -1.0 );
// returns true
var bool = isNegativeInteger( 0.0 );
// returns false
var bool = isNegativeInteger( 10.0 );
// returns false
Tests if a finite double-precision floating-point number is a negative integer.
Notes
true
, when, in fact, the result is undefined.