<< mustBeMatrix | Validators | mustBeNegative >> |
mustBeMember(var, c) |
mustBeMember(var, c, argPosition) |
C++: void mustBeMember(const ArrayOfVector& args, const ArrayOf &c, int argPosition) |
a variable.
a variable.
a positive integer value: Position of input argument.
mustBeMember checks that value is member of an array or issue error.
A = "red";
B = ["yellow","red","blue"];
mustBeMember(A,B)
Version | Description |
---|---|
1.0.0 | initial version |
Allan CORNET