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