SoftBank.Note.zero-question-mark

You're seeing just the function zero-question-mark, go back to SoftBank.Note module for more information.

Specs

zero?(t()) :: boolean()

Returns true if the amount of a SoftBank.Note struct is zero

Example:

iex> SoftBank.Note.zero?(SoftBank.Note.new(0, :USD))
true
iex> SoftBank.Note.zero?(SoftBank.Note.new(1, :USD))
false