is-kebab-case
text →
is-kebab-case() → boolean
Returns true when the complete input is a kebab-case identifier beginning with a letter. Words contain lowercase or uncased Unicode letters, combining marks, and numbers, separated by single hyphens. Returns false for null, empty, blank, punctuation, mixed separators, and leading, trailing, or repeated separators.
Parameters
This predicate has no parameters.
Examples
"first-name" | is-kebab-case → #true
"first--name" | is-kebab-case → #false
Kind: Predicate
Scope: text
Aliases: None