PIbd-22.-Stroev-V.M.-Intern.../Lab2/node_modules/lodash/_baseIsNaN.js
2023-10-28 00:49:09 +03:00

13 lines
296 B
JavaScript

/**
* 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;