summaryrefslogtreecommitdiff
path: root/tools/node_modules/eslint/node_modules/lodash/_baseIsNaN.js
diff options
context:
space:
mode:
Diffstat (limited to 'tools/node_modules/eslint/node_modules/lodash/_baseIsNaN.js')
-rw-r--r--tools/node_modules/eslint/node_modules/lodash/_baseIsNaN.js12
1 files changed, 12 insertions, 0 deletions
diff --git a/tools/node_modules/eslint/node_modules/lodash/_baseIsNaN.js b/tools/node_modules/eslint/node_modules/lodash/_baseIsNaN.js
new file mode 100644
index 0000000000..316f1eb1ef
--- /dev/null
+++ b/tools/node_modules/eslint/node_modules/lodash/_baseIsNaN.js
@@ -0,0 +1,12 @@
+/**
+ * The base implementation of `_.isNaN` without support for number objects.
+ *
+ * @private
+ * @param {*} value The value to check.
+ * @returns {boolean} Returns `true` if `value` is `NaN`, else `false`.
+ */
+function baseIsNaN(value) {
+ return value !== value;
+}
+
+module.exports = baseIsNaN;