@extra-array/is-equal
Version:
Checks if two arrays are equal.
13 lines (12 loc) • 417 B
TypeScript
declare module "@extra-array/is-equal" {
import type { compareFn, mapFn } from "./_types";
/**
* Checks if two arrays are equal.
* @param x an array
* @param y another array
* @param fc compare function (a, b)
* @param fm map function (v, i, x)
*/
declare function isEqual<T, U = T>(x: T[], y: T[], fc?: compareFn<T | U>, fm?: mapFn<T, T | U>): boolean;
export = isEqual;
//# sourceMappingURL=isEqual.d.ts.map}