ng2-translate
Version:
An implementation of angular translate for Angular 2
19 lines (18 loc) • 636 B
TypeScript
/**
* @name equals
*
* @description
* Determines if two objects or two values are equivalent.
*
* Two objects or values are considered equivalent if at least one of the following is true:
*
* * Both objects or values pass `===` comparison.
* * Both objects or values are of the same type and all of their properties are equal by
* comparing them with `equals`.
*
* @param {*} o1 Object or value to compare.
* @param {*} o2 Object or value to compare.
* @returns {boolean} True if arguments are equal.
*/
export declare function equals(o1: any, o2: any): boolean;
export declare function isDefined(value: any): boolean;