constraints.checkEnum: Check Enum

View source: R/constraints.checkEnum.R

constraints.checkEnumR 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

Constraints specifications

Examples


constraints.checkEnum(constraint = list(1, 2), value = 1)

constraints.checkEnum(constraint = list(1, 2), value = 3)

tableschema.r documentation built on Sept. 30, 2022, 1:06 a.m.