This commit is contained in:
Stephen Franceschelli
2019-07-15 13:45:00 -04:00
parent 9ea2679ca7
commit 574f83ab4c
7044 changed files with 1866414 additions and 15 deletions

14
node_modules/lodash/_castFunction.js generated vendored Normal file
View File

@@ -0,0 +1,14 @@
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;