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