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)

frictionlessdata/tableschema-r documentation built on Oct. 1, 2022, 11:44 a.m.