From 79990cbb27c290a0f6588fc5b31d2379f313121c Mon Sep 17 00:00:00 2001 From: jdalton Date: Fri, 29 May 2015 06:24:02 -0400 Subject: [PATCH] Remove `baseIsFunction`. --- lodash.src.js | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/lodash.src.js b/lodash.src.js index b37ba6a88..f71a64e80 100644 --- a/lodash.src.js +++ b/lodash.src.js @@ -349,20 +349,6 @@ return -1; } - /** - * The base implementation of `_.isFunction` without support for environments - * with incorrect `typeof` results. - * - * @private - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is correctly classified, else `false`. - */ - function baseIsFunction(value) { - // Avoid a Chakra JIT bug in compatibility modes of IE 11. - // See https://github.com/jashkenas/underscore/issues/1621 for more details. - return typeof value == 'function' || false; - } - /** * Converts `value` to a string if it's not one. An empty string is returned * for `null` or `undefined` values.