arraysEqual
@iota/wallet-standard / arraysEqual
Function: arraysEqual()
arraysEqual<
T>(a,b):boolean
Defined in: node_modules/.pnpm/@[email protected]/node_modules/@wallet-standard/wallet/lib/types/util.d.ts:45
Efficiently compare Indexed arrays (e.g. Array and Uint8Array).
Type Parameters
T
T
Parameters
a
Indexed<T>
An array.
b
Indexed<T>
Another array.
Returns
boolean
true if the arrays have the same length and elements, false otherwise.