Cldr.Currency.territory_currencies-exclamation-mark

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

territory_currencies!(territory)

View Source

Returns a list of currencies associated with a given territory.

Arguments

Returns

  • map where map has as its key a t:Cldr.Currency struct and the value is a map of validity dates for that currency; or

  • raises an exception

Example

iex> Cldr.Currency.territory_currencies(:LT)
%{
  EUR: %{from: ~D[2015-01-01], to: nil},
  LTL: %{from: nil, to: ~D[2014-12-31]},
  LTT: %{from: nil, to: ~D[1993-06-25]},
  SUR: %{from: nil, to: ~D[1992-10-01]}
}