mustBeTextScalar
Checks that value is single piece of text or raise an error.
Syntax
mustBeTextScalar(var)
mustBeTextScalar(var, argPosition)
C++: void mustBeTextScalar(const ArrayOfVector& args, int argPosition)
Input argument
var - a variable: a scalar string array or row vector characters array.
argPosition - a positive integer value: Position of input argument.
Description
mustBeTextScalar that value is single piece of text or raise an error.
Example
mustBeTextScalar('true')
mustBeTextScalar(["f", "ff"])
mustBeTextScalar("hello")
See also
History
Version
Description
1.0.0
initial version
Author
Allan CORNET
Last updated
Was this helpful?