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