# Function isValidLocale

- isValidLocale(
  locale: any,
  ): locale is
  | "es"
  | "id"
  | "is"
  | "no"
  | "ar"
  | "bg"
  | "bn-IN"
  | "cs"
  | "da"
  | "de"
  | "el"
  | "en-GB"
  | "en-US"
  | "es-ES"
  | "fi"
  | "fr-CA"
  | "fr"
  | "ga"
  | "hi-IN"
  | "hr"
  | "hu"
  | "it"
  | "iw"
  | "ja"
  | "ko"
  | "lo"
  | "lt"
  | "ms"
  | "nl"
  | "nl-BE"
  | "pl"
  | "pt-BR"
  | "pt"
  | "ro"
  | "ru"
  | "sk"
  | "sl"
  | "sr"
  | "sv"
  | "sw"
  | "uk"
  | "ur"
  | "vi"
  | "th"
  | "tr"
  | "zh-HK"
  | "zh"
  | "zu"

  #### Parameters

  - locale: any

  #### Returns locale is
  | "es"
  | "id"
  | "is"
  | "no"
  | "ar"
  | "bg"
  | "bn-IN"
  | "cs"
  | "da"
  | "de"
  | "el"
  | "en-GB"
  | "en-US"
  | "es-ES"
  | "fi"
  | "fr-CA"
  | "fr"
  | "ga"
  | "hi-IN"
  | "hr"
  | "hu"
  | "it"
  | "iw"
  | "ja"
  | "ko"
  | "lo"
  | "lt"
  | "ms"
  | "nl"
  | "nl-BE"
  | "pl"
  | "pt-BR"
  | "pt"
  | "ro"
  | "ru"
  | "sk"
  | "sl"
  | "sr"
  | "sv"
  | "sw"
  | "uk"
  | "ur"
  | "vi"
  | "th"
  | "tr"
  | "zh-HK"
  | "zh"
  | "zu"

  - Defined in jslib/src/lib/types/assertions.ts:56