/*! * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ /** * Compare two arrays. Returns true if their elements are equivalent and in the same order. * * @legacy @beta * * @param left - The first array to compare * @param right - The second array to compare * @param comparator - The function used to check if two `T`s are equivalent. * Defaults to `Object.is()` equality (a shallow compare where NaN = NaN and -0 ≠ 0) */ export declare const compareArrays: (left: readonly T[], right: readonly T[], comparator?: (leftItem: T, rightItem: T, index: number) => boolean) => boolean; //# sourceMappingURL=compare.d.ts.map