class for testing whether a numerical value is non-zero
Contract| No input parameters. | | Water Contract<class number.nonzero
/> | |
See also: is_type_for, is_a, positive, negative, nonnegative
Methods: is_type_for
This class can be used in conjunction with is_type_for to determine
whether a given argument is non-zero.
Examples
number.nonzero.<is_type_for 453 />
 | true |
number.nonzero.<is_type_for 0.0 />
 | false |
number.nonzero.<is_type_for 0 />
 | false |
number.nonzero.<is_type_for 0.000001 />
 | true |
© Copyright 2007 Clear Methods, Inc.