UNPKG

@n3okill/utils

Version:
10 lines (9 loc) 363 B
/** * "Check if two arrays are equal." * * The function is generic, meaning that it can be applied to any type of array * @param {T} a - T is the type of the array. * @param {U} b - U is the type of the array that we're comparing against. * @returns `true` */ export declare function equalArray<T extends Array<unknown>, U extends T>(a: T, b: U): boolean;