mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-06 17:47:49 +00:00
Apply arrow function transform.
This commit is contained in:
@@ -14,9 +14,7 @@ function baseMatches(source) {
|
||||
if (matchData.length == 1 && matchData[0][2]) {
|
||||
return matchesStrictComparable(matchData[0][0], matchData[0][1]);
|
||||
}
|
||||
return function(object) {
|
||||
return object === source || baseIsMatch(object, source, matchData);
|
||||
};
|
||||
return object => object === source || baseIsMatch(object, source, matchData);
|
||||
}
|
||||
|
||||
export default baseMatches;
|
||||
|
||||
Reference in New Issue
Block a user