aboutsummaryrefslogtreecommitdiff
path: root/node_modules/lodash/_baseIsNaN.js
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/lodash/_baseIsNaN.js')
-rw-r--r--node_modules/lodash/_baseIsNaN.js12
1 files changed, 12 insertions, 0 deletions
diff --git a/node_modules/lodash/_baseIsNaN.js b/node_modules/lodash/_baseIsNaN.js
new file mode 100644
index 0000000..316f1eb
--- /dev/null
+++ b/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;