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