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