class and type number.negative
class for testing whether a numerical value is less than zero
Contract
No input parameters.
Water Contract
<class number.negative
/>

See also: is_type_for, is_a, positive, nonzero, nonnegative

Methods: is_type_for



This class can be used in conjunction with is_type_for to determine whether a given argument is less than zero.

Examples

number.negative.<is_type_for 453 />
false
number.negative.<is_type_for 0.0 />
false
number.negative.<is_type_for 0 />
false
number.negative.<is_type_for 0.000001 />
false
number.negative.<is_type_for -0.000001 />
true