@orbit/utils
Version:
Core utilities for Orbit.
11 lines (10 loc) • 310 B
TypeScript
/**
* `eq` checks the equality of two objects.
*
* The properties belonging to objects (but not their prototypes) will be
* traversed deeply and compared.
*
* Includes special handling for strings, numbers, dates, booleans, regexes, and
* arrays
*/
export declare function eq(a: any, b: any): boolean;