R/string.R
is_cuid2.Rd
Validates CUID2 strings of 24 (the default length) to 32 (the maximum length) characters.
is_cuid2(x)
(any) Object to check.
any
TRUE if x is a valid CUID2 string, FALSE otherwise.
TRUE
x
FALSE
https://github.com/paralleldrive/cuid2
is_cuid2("ckopqwooh000001la8mbi2im9") #> [1] TRUE