SoftBank.Note.positive-question-mark

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

Specs

positive?(t()) :: boolean()

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

Example:

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