SoftBank.Note.Currency.exists-question-mark
You're seeing just the function
exists-question-mark
, go back to SoftBank.Note.Currency module for more information.
Specs
exists?(SoftBank.Note.t() | String.t() | atom()) :: boolean()
Returns true if a currency is defined
Example:
iex> SoftBank.Note.Currency.exists?(:USD)
true
iex> SoftBank.Note.Currency.exists?("USD")
true
iex> SoftBank.Note.Currency.exists?(:WRONG)
false