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

See also: is_type_for, is_a, positive, nonnegative

Methods: is_type_for



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

Examples

integer.negative.<is_type_for 453 />
false
integer.negative.<is_type_for -453.0 />
false
integer.negative.<is_type_for -453 />
true
integer.negative.<is_type_for 0.000001 />
false
integer.negative.<is_type_for 0 />
false