Version 1
[yaffs-website] / node_modules / grunt-uncss / node_modules / lodash / identity.js
diff --git a/node_modules/grunt-uncss/node_modules/lodash/identity.js b/node_modules/grunt-uncss/node_modules/lodash/identity.js
new file mode 100644 (file)
index 0000000..2d5d963
--- /dev/null
@@ -0,0 +1,21 @@
+/**
+ * This method returns the first argument it receives.
+ *
+ * @static
+ * @since 0.1.0
+ * @memberOf _
+ * @category Util
+ * @param {*} value Any value.
+ * @returns {*} Returns `value`.
+ * @example
+ *
+ * var object = { 'a': 1 };
+ *
+ * console.log(_.identity(object) === object);
+ * // => true
+ */
+function identity(value) {
+  return value;
+}
+
+module.exports = identity;