mustBeLogicalScalar
Checks that value is logical scalar or raise an error.
Syntax
mustBeLogicalScalar(var)
mustBeLogicalScalar(var, argPosition)
C++: void mustBeLogicalScalar(const ArrayOfVector& args, int argPosition)
Input argument
var - a variable: all supported types and classes that implement islogical, isscalar methods.
argPosition - a positive integer value: Position of input argument.
Description
mustBeLogicalScalar checks that value is logical scalar or raise an error.
Example
See also
History
Version | Description |
---|---|
1.0.0 | initial version |
Author
Allan CORNET
Last updated