repl.txt (614B)
1 2 {{alias}}( x ) 3 Tests if a finite double-precision floating-point number is a negative 4 integer. 5 6 The function assumes a finite number. If provided negative infinity, the 7 function will return `true`, when, in fact, the result is undefined. 8 9 Parameters 10 ---------- 11 x: number 12 Value to test. 13 14 Returns 15 ------- 16 bool: boolean 17 Boolean indicating whether the value is a negative integer. 18 19 Examples 20 -------- 21 > var bool = {{alias}}( -1.0 ) 22 true 23 > bool = {{alias}}( 0.0 ) 24 false 25 > bool = {{alias}}( 10.0 ) 26 false 27 28 See Also 29 -------- 30