Function: areBalancesEqual()
Checks if two balances are equal. Flag to check if the balances with zero amounts should be checked as well.
areBalancesEqual<
T>(expected,actual,checkZeroBalances):boolean
Defined in: packages/bitbadgesjs-sdk/src/core/balances.ts:294
Checks if two balances are equal. Flag to check if the balances with zero amounts should be checked as well.
Type Parameters
T
T extends NumberType
Parameters
expected
iBalance<T>[]
actual
iBalance<T>[]
checkZeroBalances
boolean
Returns
boolean
Remarks
Can also be used via the corresponding method with same name on BalanceArray