* The base implementation of `_.isEqual` which supports partial comparisons * and tracks traversed objects. * * @private * @param {*} value The value to compare. * @param {*} other The other value to compare. * @param {boolean} bitmask The bitmask flags. * 1 - Unordered comparison * 2 - Pa
(value, other, bitmask, customizer, stack)
| 13658 | * @returns {boolean} Returns `true` if the values are equivalent, else `false`. |
| 13659 | */ |
| 13660 | function baseIsEqual(value, other, bitmask, customizer, stack) { |
| 13661 | if (value === other) { |
| 13662 | return true; |
| 13663 | } |
| 13664 | if (value == null || other == null || (!isObjectLike(value) && !isObjectLike(other))) { |
| 13665 | return value !== value && other !== other; |
| 13666 | } |
| 13667 | return baseIsEqualDeep(value, other, bitmask, customizer, baseIsEqual, stack); |
| 13668 | } |
| 13669 | |
| 13670 | module.exports = baseIsEqual; |
| 13671 |
no test coverage detected
searching dependent graphs…