Cldr.available_locale_name-question-mark
You're seeing just the function
available_locale_name-question-mark
, go back to Cldr module for more information.
Specs
available_locale_name?(Cldr.Locale.locale_name() | Cldr.LanguageTag.t()) :: boolean()
Returns a boolean indicating if the specified locale is available in CLDR.
The return value depends on whether the locale is
defined in the CLDR repository. It does not necessarily
mean the locale is configured for Cldr
. See also
Cldr.known_locale_name?/2
.
Arguments
locale
is any valid locale name returned byCldr.known_locale_names/1
Examples
iex> Cldr.available_locale_name?("en-AU")
true
iex> Cldr.available_locale_name?("en-SA")
false