isPositive()

Determines if a value is positive.

This function is valid in v2.1.0 to v2.13.3. This function has been downloaded 39 times.

Parameters

{number} value
Value to be tested as to whether or not it is positive.
{boolean=} opt_includeZero Optional, Default:false
Value indicating whether or not 0 should be counted as positive.

Returns

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