mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-05 17:37:50 +00:00
Make baseMatches style consistent with baseMatchesProperty.
This commit is contained in:
@@ -2471,7 +2471,7 @@
|
|||||||
|
|
||||||
if (isStrictComparable(value)) {
|
if (isStrictComparable(value)) {
|
||||||
return function(object) {
|
return function(object) {
|
||||||
return object != null && value === object[key] && hasOwnProperty.call(object, key);
|
return object != null && object[key] === value && hasOwnProperty.call(object, key);
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user