Value Sign Predicates
Last updated
Was this helpful?
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.
Last updated
Was this helpful?
Was this helpful?