Documentation / @jalali-js/i18n / isLocaleCode
Function: isLocaleCode()
isLocaleCode(
value):value is LocaleCode
Defined in: locale-packs.ts:19
True when value is a known locale code. For callers that read untyped input, such as a custom element's attribute.
Parameters
value
string
Returns
value is LocaleCode