Make nullish check consistent in variations of _.matches returned function.

This commit is contained in:
John-David Dalton
2014-06-14 23:21:36 -07:00
parent 1065ebb0aa
commit 4ccb3810c2
2 changed files with 2 additions and 2 deletions

View File

@@ -5053,7 +5053,7 @@
return function(object) {
var length = propsLength;
if (length && !object) {
if (length && object == null) {
return false;
}
while (length--) {

View File

@@ -8214,7 +8214,7 @@
}
return function(object) {
var length = propsLength;
if (length && !object) {
if (length && object == null) {
return false;
}
while (length--) {