Skip to content

isWellFormedLanguageTag

isWellFormedLanguageTag(text): boolean

Defined in: packages/format-language-tag/src/parse-language-tag.ts:118

Whether text matches the Language-Tag grammar of RFC 5646 §2.1.

string

boolean