mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-01-29 06:27:49 +00:00
Replace _.result use with _.get.
This commit is contained in:
@@ -345,7 +345,7 @@
|
||||
var aryCap = index + 1;
|
||||
|
||||
var methodNames = _.filter(mapping.aryMethod[aryCap], function(methodName) {
|
||||
var key = _.result(mapping.remap, methodName, methodName),
|
||||
var key = _.get(mapping.remap, methodName, methodName),
|
||||
arity = _[key].length;
|
||||
|
||||
return arity != 0 && arity < aryCap;
|
||||
|
||||
Reference in New Issue
Block a user