Version 1
[yaffs-website] / node_modules / grunt-legacy-log-utils / node_modules / lodash / _baseUnary.js
diff --git a/node_modules/grunt-legacy-log-utils/node_modules/lodash/_baseUnary.js b/node_modules/grunt-legacy-log-utils/node_modules/lodash/_baseUnary.js
new file mode 100644 (file)
index 0000000..e584a99
--- /dev/null
@@ -0,0 +1,14 @@
+/**
+ * The base implementation of `_.unary` without support for storing wrapper metadata.
+ *
+ * @private
+ * @param {Function} func The function to cap arguments for.
+ * @returns {Function} Returns the new function.
+ */
+function baseUnary(func) {
+  return function(value) {
+    return func(value);
+  };
+}
+
+module.exports = baseUnary;