isNegative()

Determines if a value is negative.

This function is valid in v2.1.0 to v2.13.1. This function has been downloaded 25 times.

Parameters

{number} value
The value to test to see if it is negative.
{boolean=} opt_includeNegZero Optional, Default:false
Value indicating whether or not -0 should be counted as negative.

Returns

{boolean}
true if value is negative or if value is -0 and opt_includeNegZero is true-ish. Otherwise false.