signbit()

Specifies whether or not the number is negative (meaning it has a bit indicating the sign of the number).

This function is valid in v2.15.0 to v2.20.0. This function has been downloaded 19 times.

Parameter

{number} x
The value to be observed.

Returns

{boolean}
Returns true if x is -0 or less than 0, otherwise returns false.