diff options
Diffstat (limited to 'school/node_modules/lodash/_overArg.js')
-rw-r--r-- | school/node_modules/lodash/_overArg.js | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/school/node_modules/lodash/_overArg.js b/school/node_modules/lodash/_overArg.js deleted file mode 100644 index 651c5c5..0000000 --- a/school/node_modules/lodash/_overArg.js +++ /dev/null @@ -1,15 +0,0 @@ -/** - * Creates a unary function that invokes `func` with its argument transformed. - * - * @private - * @param {Function} func The function to wrap. - * @param {Function} transform The argument transform. - * @returns {Function} Returns the new function. - */ -function overArg(func, transform) { - return function(arg) { - return func(transform(arg)); - }; -} - -module.exports = overArg; |