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.24.3. This function has been downloaded 57 times.

Parameter

{number} x
The value to be observed.

Returns

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