mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-05 01:17:50 +00:00
Make nullish check consistent in variations of _.matches returned function.
This commit is contained in:
2
dist/lodash.underscore.js
vendored
2
dist/lodash.underscore.js
vendored
@@ -5053,7 +5053,7 @@
|
|||||||
|
|
||||||
return function(object) {
|
return function(object) {
|
||||||
var length = propsLength;
|
var length = propsLength;
|
||||||
if (length && !object) {
|
if (length && object == null) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
while (length--) {
|
while (length--) {
|
||||||
|
|||||||
Reference in New Issue
Block a user