finanza/currency/catalog
A static snapshot of 15 major ISO 4217 currencies.
The snapshot is informational and is not refreshed against the
ISO 4217 maintenance register. For currencies outside the
catalogue, build a Currency directly
with currency.new_currency.
Values
pub fn all() -> List(currency.Currency)
All currencies in the static catalogue, in the order they appear on this page.
pub fn find(code code: String) -> Result(currency.Currency, Nil)
Look up a catalogue currency by its ISO 4217 alpha-3 code. Codes are compared case-sensitively in upper case.