text →
is-snake-case() → boolean

Returns true when the complete input is a snake-case identifier beginning with a letter. Words contain lowercase or uncased Unicode letters, combining marks, and numbers, separated by single underscores. 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-snake-case  #true
"first--name" | is-snake-case  #false

Kind: Predicate
Scope: text
Aliases: None


This site uses Just the Docs, a documentation theme for Jekyll.