Skip to content

BeechCMS


BeechCMS / @beechcms/core / isLocaleCode

Function: isLocaleCode() ​

isLocaleCode(value): value is string

True when value is a string matching LOCALE_CODE_RE.

Parameters ​

value ​

unknown

Returns ​

value is string