diff options
Diffstat (limited to 'alarm/node_modules/lodash/_castFunction.js')
-rw-r--r-- | alarm/node_modules/lodash/_castFunction.js | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/alarm/node_modules/lodash/_castFunction.js b/alarm/node_modules/lodash/_castFunction.js deleted file mode 100644 index 98c91ae..0000000 --- a/alarm/node_modules/lodash/_castFunction.js +++ /dev/null @@ -1,14 +0,0 @@ -var identity = require('./identity'); - -/** - * Casts `value` to `identity` if it's not a function. - * - * @private - * @param {*} value The value to inspect. - * @returns {Function} Returns cast function. - */ -function castFunction(value) { - return typeof value == 'function' ? value : identity; -} - -module.exports = castFunction; |