Cldr.Currency.currency_filter
currency_filter, go back to Cldr.Currency module for more information.
Return only those currencies meeting the filter criteria.
Arguments
currencyis aCldr.Currency.t, a list ofCldr.Currency.tor a map where the values of each item is aCldr.Currency.tonlyis:all,:current,:historic,:tenderunannotatedor a list of one or more status or currency codes. The default is:allexceptis:current,:historic,:tenderunannotatedor a list of one or more status or currency codes. The default isnil
Currency Status
A currency may be in current use, of historic interest only. It may or may not be legal tender. And it may mostly be used as a financial instrument. To help return the most useful currencies the currency status code acts as follows:
:all, the default, returns all currencies:currentreturns those currencies that have a:todate of nil and which also is a known ISO4217 currency:historicis the opposite of:current:tenderis a currency that is legal tender:unannotatedis a currency that doesn't have "(some string)" in its name. These are usually financial instruments.