UNPKG

xdesign-vue-next

Version:

XDesign Component for vue-next

48 lines (44 loc) 948 B
/** * xdesign v1.0.6 * (c) 2023 xdesign * @license MIT */ import './dep-10a947a6.mjs'; /** * Performs a * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero) * comparison between two values to determine if they are equivalent. * * @static * @memberOf _ * @since 4.0.0 * @category Lang * @param {*} value The value to compare. * @param {*} other The other value to compare. * @returns {boolean} Returns `true` if the values are equivalent, else `false`. * @example * * var object = { 'a': 1 }; * var other = { 'a': 1 }; * * _.eq(object, object); * // => true * * _.eq(object, other); * // => false * * _.eq('a', 'a'); * // => true * * _.eq('a', Object('a')); * // => false * * _.eq(NaN, NaN); * // => true */ function eq(value, other) { return value === other || value !== value && other !== other; } var eq_1 = eq; export { eq_1 as e }; //# sourceMappingURL=dep-7f239c43.mjs.map