MCPcopy
hub / github.com/lodash/lodash / isEqualWith

Function isEqualWith

lodash.js:11666–11670  ·  view source on GitHub ↗

* This method is like `_.isEqual` except that it accepts `customizer` which * is invoked to compare values. If `customizer` returns `undefined`, comparisons * are handled by the method instead. The `customizer` is invoked with up to * six arguments: (objValue, othValue [, index|key, o

(value, other, customizer)

Source from the content-addressed store, hash-verified

11664 * // => true
11665 */
11666 function isEqualWith(value, other, customizer) {
11667 customizer = typeof customizer == 'function' ? customizer : undefined;
11668 var result = customizer ? customizer(value, other) : undefined;
11669 return result === undefined ? baseIsEqual(value, other, undefined, customizer) : !!result;
11670 }
11671
11672 /**
11673 * Checks if `value` is an `Error`, `EvalError`, `RangeError`, `ReferenceError`,

Callers

nothing calls this directly

Calls 2

customizerFunction · 0.85
baseIsEqualFunction · 0.85

Tested by

no test coverage detected