UNPKG

720 BTypeScriptView Raw
1/**
2 * Determines if two objects or two values are equivalent.
3 *
4 * Two objects or values are considered equivalent if at least one of the following is true:
5 *
6 * * Both objects or values pass `===` comparison.
7 * * Both objects or values are of the same type and all of their properties are equal by
8 * comparing them with `equals`.
9 *
10 * @param o1 Object or value to compare.
11 * @param o2 Object or value to compare.
12 * @returns true if arguments are equal.
13 */
14export declare function equals(o1: any, o2: any): boolean;
15export declare function isDefined(value: any): boolean;
16export declare function isObject(item: any): boolean;
17export declare function mergeDeep(target: any, source: any): any;