MCPcopy
hub / github.com/lodash/lodash / eq

Function eq

lodash.js:11283–11285  ·  view source on GitHub ↗

* 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 compa

(value, other)

Source from the content-addressed store, hash-verified

11281 * // => true
11282 */
11283 function eq(value, other) {
11284 return value === other || (value !== value && other !== other);
11285 }
11286
11287 /**
11288 * Checks if `value` is greater than `other`.

Callers 10

assignMergeValueFunction · 0.85
assignValueFunction · 0.85
assocIndexOfFunction · 0.85
baseSortedUniqFunction · 0.85
customDefaultsAssignInFunction · 0.85
equalByTagFunction · 0.85
isIterateeCallFunction · 0.85
sortedIndexOfFunction · 0.85
sortedLastIndexOfFunction · 0.85
lodash.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected