Check if the value is exactly match a constraint.
constraints.checkEnum(constraint, value)
Arguments
constraint |
numeric list,matrix or vector with the constraint values |
value |
numeric value to meet the constraint |
Value
TRUE if value meets the constraint
See also
Examples
#> [1] TRUE
#> [1] FALSE