mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-03 00:27:50 +00:00
Simplify lazy pluck and where.
This commit is contained in:
@@ -11097,7 +11097,7 @@
|
||||
createCallback = index ? baseMatches : baseProperty;
|
||||
|
||||
LazyWrapper.prototype[methodName] = function(value) {
|
||||
return this[operationName](createCallback(index ? value : (value + '')));
|
||||
return this[operationName](createCallback(value));
|
||||
};
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user