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