Cldr.Number.System.number_system_names_for

You're seeing just the function number_system_names_for, go back to Cldr.Number.System module for more information.
Link to this function

number_system_names_for(locale, backend)

View Source

Specs

number_system_names_for(
  Cldr.Locale.locale_name() | Cldr.LanguageTag.t(),
  Cldr.backend()
) :: {:ok, [atom()]} | {:error, {module(), String.t()}}

Returns the names of the number systems available for a locale or an {:error, message} tuple if the locale is not known.

Arguments

Examples

iex> Cldr.Number.System.number_system_names_for("en", TestBackend.Cldr)
{:ok, [:latn]}

iex> Cldr.Number.System.number_system_names_for("th", TestBackend.Cldr)
{:ok, [:latn, :thai]}

iex> Cldr.Number.System.number_system_names_for("he", TestBackend.Cldr)
{:ok, [:latn, :hebr]}

iex> Cldr.Number.System.number_system_names_for("zz", TestBackend.Cldr)
{:error, {Cldr.UnknownLocaleError, "The locale \"zz\" is not known."}}