From c94b1488e9c93b716c45fa4866f4a2886226d2ae Mon Sep 17 00:00:00 2001 From: John-David Dalton Date: Tue, 16 Feb 2016 07:46:54 -0800 Subject: [PATCH] Make `iteraeeAry` pass thru non-functions. [closes #2007] --- fp/_baseConvert.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fp/_baseConvert.js b/fp/_baseConvert.js index d0504cacc..c2203d295 100644 --- a/fp/_baseConvert.js +++ b/fp/_baseConvert.js @@ -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; }); };