<< mustBeNonSparse | Validators | mustBeNonempty >> |
mustBeNonZero(var) |
mustBeNonZero(var, argPosition) |
C++: void mustBeNonZero(const ArrayOfVector& args, int argPosition) |
a variable: all supported types and classes that implement eq, isnumeric and islogical methods.
a positive integer value: Position of input argument.
mustBeNonZero checks that value is not zero or raise an error.
mustBeNonZero(1)
mustBeNonZero([])
mustBeNonZero(NaN)
mustBeNonZero(0)
Version | Description |
---|---|
1.0.0 | initial version |
Allan CORNET