UNPKG

object-deep-compare

Version:

A type-safe collection of comparison methods for objects and arrays in TypeScript/JavaScript

15 lines (14 loc) 657 B
import { ComparisonOptions } from '../types'; /** * Compares two arrays and returns whether they are equal * * @param firstArray - First array to compare * @param secondArray - Second array to compare * @param options - Optional comparison options (strict, circularReferences, pathFilter, schemaValidation) * @returns True if arrays are equal, false otherwise */ export declare const CompareArrays: (firstArray: any[], secondArray: any[], options?: ComparisonOptions) => boolean; /** * Memoized version of CompareArrays */ export declare const MemoizedCompareArrays: (firstArray: any[], secondArray: any[], options?: ComparisonOptions) => boolean;