constraints.checkEnum {tableschema.r} | R Documentation |
Check Enum
Description
Check if the value is exactly match a constraint.
Usage
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
constraints.checkEnum(constraint = list(1, 2), value = 1)
constraints.checkEnum(constraint = list(1, 2), value = 3)
[Package tableschema.r version 1.1.2 Index]