<< mustBeLessThanOrEqual | Validators | mustBeLogicalScalar >> |
mustBeLogical(var) |
mustBeLogical(var, argPosition) |
C++: void mustBeLogical(const ArrayOfVector& args, int argPosition) |
a variable: all supported types and classes that implement islogical and isempty methods.
a positive integer value: Position of input argument.
mustBeLogical checks that value is logical or raise an error.
Empty values are ignored.
mustBeLogical(true)
mustBeLogical([])
mustBeLogical([true false])
Version | Description |
---|---|
1.0.0 | initial version |
Allan CORNET