json-p3
Version:
JSONPath, JSON Pointer and JSON Patch
11 lines (10 loc) • 374 B
TypeScript
/**
* Deep equality of JSON-like values.
*
* No attempt is made to handle function objects, recursive data
* structures, NaNs, sparse arrays, primitive wrapper objects....
*
* We're not using JSON.stringify because we want objects with the same
* entries in a different order to compare equal.
*/
export declare function deepEquals(a: unknown, b: unknown): boolean;