Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/austingebauer/devise.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/lodash/_castFunction.js')
-rw-r--r--node_modules/lodash/_castFunction.js14
1 files changed, 0 insertions, 14 deletions
diff --git a/node_modules/lodash/_castFunction.js b/node_modules/lodash/_castFunction.js
deleted file mode 100644
index 98c91ae..0000000
--- a/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;