@metamask/snaps-utils
Version:
A collection of utilities for MetaMask Snaps
11 lines • 497 B
text/typescript
/**
* Checks if array `a` is equal to array `b`. Note that this does not do a deep
* equality check. It only checks if the arrays are the same length and if each
* element in `a` is equal to (`===`) the corresponding element in `b`.
*
* @param a - The first array to compare.
* @param b - The second array to compare.
* @returns `true` if the arrays are equal, `false` otherwise.
*/
export declare function isEqual(a: unknown[], b: unknown[]): boolean;
//# sourceMappingURL=array.d.cts.map