Cldr.Number.System.number_systems_for

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

number_systems_for(locale, backend)

View Source

Specs

number_systems_for(
  Cldr.Locale.locale_name() | Cldr.LanguageTag.t(),
  Cldr.backend()
) :: {:ok, map()} | {:error, {module(), String.t()}}

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

Arguments

Examples

iex> Cldr.Number.System.number_systems_for "en"
{:ok, %{default: :latn, native: :latn}}

iex> Cldr.Number.System.number_systems_for "th"
{:ok, %{default: :latn, native: :thai}}

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