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