Check if two token amounts are the same. This tests for numeric equlity, not equality of object values.
const a = TokenAmount.create(1, 2);const b = TokenAmount.create(100, 4);console.log(TokenAmount.equals(a, b)); // true
True if they are equal.
Generated using TypeDoc
Check if two token amounts are the same. This tests for numeric equlity, not equality of object values.
Example
Returns
True if they are equal.