SoftBank.Note.negative-question-mark
You're seeing just the function
negative-question-mark
, go back to SoftBank.Note module for more information.
Specs
Returns true if the amount of a SoftBank.Note
is less than zero
Example:
iex> SoftBank.Note.negative?(SoftBank.Note.new(0, :USD))
false
iex> SoftBank.Note.negative?(SoftBank.Note.new(1, :USD))
false
iex> SoftBank.Note.negative?(SoftBank.Note.new(-1, :USD))
true