diff options
Diffstat (limited to 'sandbox/testAppNevena/Front/node_modules/lodash/_baseUnary.js')
-rw-r--r-- | sandbox/testAppNevena/Front/node_modules/lodash/_baseUnary.js | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/sandbox/testAppNevena/Front/node_modules/lodash/_baseUnary.js b/sandbox/testAppNevena/Front/node_modules/lodash/_baseUnary.js new file mode 100644 index 00000000..98639e92 --- /dev/null +++ b/sandbox/testAppNevena/Front/node_modules/lodash/_baseUnary.js @@ -0,0 +1,14 @@ +/** + * The base implementation of `_.unary` without support for storing metadata. + * + * @private + * @param {Function} func The function to cap arguments for. + * @returns {Function} Returns the new capped function. + */ +function baseUnary(func) { + return function(value) { + return func(value); + }; +} + +module.exports = baseUnary; |