constraints.checkMinLength {tableschema.r} | R Documentation |
Check if minimum character length constraint is met
Description
Specify the minimum length of a character
Usage
constraints.checkMinLength(constraint, value)
Arguments
constraint |
numeric constraint, minimum character length |
value |
character to meet the constraint |
Value
TRUE if character length is equal to or greater than the constraint
See Also
Examples
constraints.checkMinLength(constraint = list(3), value = "hi")
constraints.checkMinLength(constraint = 2, value = "hello")
[Package tableschema.r version 1.1.2 Index]