summaryrefslogtreecommitdiff
path: root/bin/wiki/ImportarDesdeURL/node_modules/lodash/_baseUnary.js
diff options
context:
space:
mode:
Diffstat (limited to 'bin/wiki/ImportarDesdeURL/node_modules/lodash/_baseUnary.js')
-rw-r--r--bin/wiki/ImportarDesdeURL/node_modules/lodash/_baseUnary.js14
1 files changed, 14 insertions, 0 deletions
diff --git a/bin/wiki/ImportarDesdeURL/node_modules/lodash/_baseUnary.js b/bin/wiki/ImportarDesdeURL/node_modules/lodash/_baseUnary.js
new file mode 100644
index 00000000..98639e92
--- /dev/null
+++ b/bin/wiki/ImportarDesdeURL/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;