Replace isObject use with isObjectLike in baseIsEqual.

This commit is contained in:
John-David Dalton
2016-11-20 23:46:14 -06:00
parent a3e077324a
commit 2890eabf66

View File

@@ -3281,7 +3281,7 @@
if (value === other) {
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 baseIsEqualDeep(value, other, bitmask, customizer, baseIsEqual, stack);