class for testing whether an integer value is greater than zero
Contract| No input parameters. | | Water Contract<class number.integer.positive
/> | |
See also: is_type_for, is_a, negative, 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 greater than zero.
Examples
integer.positive.<is_type_for 453 />
 | true |
integer.positive.<is_type_for 453.0 />
 | false |
integer.positive.<is_type_for -453 />
 | false |
integer.positive.<is_type_for 0.000001 />
 | false |
integer.positive.<is_type_for 0 />
 | false |
© Copyright 2007 Clear Methods, Inc.