money2
Search…
Value Sign Predicates
To check if a money amount is a credit, a debit or zero, use predicates:
  • Money.isNegative — returns true only if amount is less than 0.
  • Money.isPositive — returns true only if amount is greater than 0.
  • Money.isZero — returns true only if amount is 0.
Copy link