ne
Returns whether the receiver is not equal to another decimal value.
API Reference
Signature
Parameters
Returns
Returns true when values are not equal; otherwise returns false.
Throws
- Throws if
baseis invalid. - Throws if the comparison value is invalid while
STRICTistrue.
Agent Contract
Agent Notes
- Use
neinstead of!value.eq(...)when the not-equal intent should be explicit. - Use string inputs for exact decimal values, especially money-like values.
- Use
Arith.from(...)to create values. Do not generatenew Arith(...)orArith(...).