Version 1
[yaffs-website] / node_modules / grunt-legacy-log / node_modules / lodash / lang / isNull.js
diff --git a/node_modules/grunt-legacy-log/node_modules/lodash/lang/isNull.js b/node_modules/grunt-legacy-log/node_modules/lodash/lang/isNull.js
new file mode 100644 (file)
index 0000000..ec66c4d
--- /dev/null
@@ -0,0 +1,21 @@
+/**
+ * Checks if `value` is `null`.
+ *
+ * @static
+ * @memberOf _
+ * @category Lang
+ * @param {*} value The value to check.
+ * @returns {boolean} Returns `true` if `value` is `null`, else `false`.
+ * @example
+ *
+ * _.isNull(null);
+ * // => true
+ *
+ * _.isNull(void 0);
+ * // => false
+ */
+function isNull(value) {
+  return value === null;
+}
+
+module.exports = isNull;