<< mustBeNumeric | Validators | mustBePositive >> |
mustBeNumericOrLogical(var) |
mustBeNumericOrLogical(var, argPosition) |
C++: void mustBeNumericOrLogical(const ArrayOfVector& args, int argPosition) |
a variable.
a positive integer value: Position of input argument.
mustBeNumericOrLogical checks that value is numeric or logical otherwise raise an error.
mustBeNumericOrLogical(1)
mustBeNumericOrLogical([])
mustBeNumericOrLogical({1})
Version | Description |
---|---|
1.0.0 | initial version |
Allan CORNET