MyApp.Cldr.Currency.current_currency_from_locale

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

current_currency_from_locale(locale)

View Source

Returns the current currency for a given locale.

This function does not consider the U extenion parameters cu or rg. It is recommended to us Cldr.Currency.currency_from_locale/1 in most circumstances.

Arguments

Example

iex> MyApp.Cldr.Currency.current_currency_from_locale "en"
:USD

iex> MyApp.Cldr.Currency.current_currency_from_locale "en-AU"
:AUD