mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-02 16:17:50 +00:00
Make iteraeeAry pass thru non-functions. [closes #2007]
This commit is contained in:
@@ -113,7 +113,7 @@ function baseConvert(util, name, func, options) {
|
||||
|
||||
var iterateeAry = function(func, n) {
|
||||
return overArg(func, function(func) {
|
||||
return baseAry(func, n);
|
||||
return typeof func == 'function' ? baseAry(func, n) : func;
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user