Cldr.Currency.current_currency_for_territory

You're seeing just the function current_currency_for_territory, go back to Cldr.Currency module for more information.
Link to this function

current_currency_for_territory(territory)

View Source

Specs

current_currency_for_territory(Cldr.territory()) ::
  code() | nil | {:error, {module(), String.t()}}

Returns the current currency for a given territory.

Arguments

Examples

iex> Cldr.Currency.current_currency_for_territory :US
:USD

iex> Cldr.Currency.current_currency_for_territory :AU
:AUD