isLocale()
Home > @gooddata/sdk-ui > isLocale
isLocale() function
Type-guard for language codes that can be used with GoodData.
Signature:
isLocale: (locale: unknown) => locale is ILocale
Parameters
| Parameter | Type | Description | 
|---|---|---|
| locale | unknown | 
Returns:
locale is ILocale