mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-08 10:17:48 +00:00
Replace isObject use with isObjectLike in baseIsEqual.
This commit is contained in:
@@ -3281,7 +3281,7 @@
|
|||||||
if (value === other) {
|
if (value === other) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
if (value == null || other == null || (!isObject(value) && !isObjectLike(other))) {
|
if (value == null || other == null || (!isObjectLike(value) && !isObjectLike(other))) {
|
||||||
return value !== value && other !== other;
|
return value !== value && other !== other;
|
||||||
}
|
}
|
||||||
return baseIsEqualDeep(value, other, bitmask, customizer, baseIsEqual, stack);
|
return baseIsEqualDeep(value, other, bitmask, customizer, baseIsEqual, stack);
|
||||||
|
|||||||
Reference in New Issue
Block a user