<< mustBeValidVariableName | Validators |
mustBeVector(var) |
mustBeVector(var, 'allow-all-empties') |
mustBeVector(var, argPosition) |
mustBeVector(var, 'allow-all-empties', argPosition) |
C++: void mustBeVector(const ArrayOfVector& args, bool allowsAllEmpties, int argPosition) |
a variable: all supported types and classes that implement isvector methods.
a positive integer value: Position of input argument.
mustBeVector checks that value is vector or raise an error.
mustBeVector(true)
mustBeVector([1 2])
mustBeVector([])
mustBeVector([], 'allows-all-empties')
Version | Description |
---|---|
1.0.0 | initial version |
Allan CORNET