<< mustBeReal | Validators | mustBeText >> |
mustBeScalarOrEmpty(var) |
mustBeScalarOrEmpty(var, argPosition) |
C++: void mustBeScalarOrEmpty(const ArrayOfVector& args, int argPosition) |
a variable: all supported types and classes that implement isscalar and isempty methods.
a positive integer value: Position of input argument.
mustBeScalarOrEmpty checks that value is scalar or empty or raise an error.
mustBeScalarOrEmpty(true)
mustBeScalarOrEmpty([])
mustBeScalarOrEmpty([true false])
Version | Description |
---|---|
1.0.0 | initial version |
Allan CORNET