<< mustBeNonzeroLengthText | Validators | mustBeNumericOrLogical >> |
mustBeNumeric(var) |
mustBeNumeric(var, argPosition) |
C++: void mustBeNumeric(const ArrayOfVector& args, int argPosition) |
a variable: all supported types and classes that implement isnumeric method.
a positive integer value: Position of input argument.
mustBeNumeric checks that value is numeric or raise an error.
Empty values are ignored.
mustBeNumeric(1)
mustBeNumeric([])
mustBeNumeric({1})
Version | Description |
---|---|
1.0.0 | initial version |
Allan CORNET