constraints.checkMinLength: Check if minimum character length constraint is met

View source: R/constraints.checkMinLength.R

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

Constraints specifications

Examples


constraints.checkMinLength(constraint = list(3), value = "hi")

constraints.checkMinLength(constraint = 2, value = "hello")

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