/** * Strict equality check according to EcmaScript Harmony's `egal`. * * **From the Harmony wiki:** * > An `egal` function simply makes available the internal `SameValue` function * > from section 9.12 of the ES5 spec. If two values are egal, then they are not * > observably distinguishable. * * `identical` returns `true` when `===` is `true`, except for `-0` and * `+0`, where it returns `false`. Additionally, it returns `true` when * `NaN` is compared to itself. * @alias module:samsam.identical * @param {unknown} obj1 The first value to compare * @param {unknown} obj2 The second value to compare * @returns {boolean} Returns `true` when the objects are *egal*, `false` otherwise */ declare function identical(obj1: unknown, obj2: unknown): boolean; export = identical;