SoftBank.Note.Currency.get

You're seeing just the function get, go back to SoftBank.Note.Currency module for more information.

Specs

get(SoftBank.Note.t() | String.t() | atom()) :: map() | nil

Returns a map with the name and symbol of the currency or nil if it doesn’t exist.

Example:

iex> SoftBank.Note.Currency.get(:USD)
%{name: "US Dollar", symbol: "$"}
iex> SoftBank.Note.Currency.get(:WRONG)
nil