| << mustBeNonnegative | Validators | mustBeNonzeroLengthText >> |
| mustBeNonpositive(var) |
| mustBeNonpositive(var, argPosition) |
| C++: void mustBeNonpositive(const ArrayOfVector& args, int argPosition) |
a variable: all supported types and classes that implement isnumeric, islogical, all, isreal, and le methods.
a positive integer value: Position of input argument.
mustBeNonpositive checks that value is non positive or raise an error.
mustBeNonpositive(-1)
mustBeNonpositive(1)
| Version | Description |
|---|---|
| 1.0.0 | initial version |
Allan CORNET