Lobashov_Ivan_PIBD-21_IP/Lab2/node_modules/lodash/_baseIsNaN.js

13 lines
296 B
JavaScript
Raw Normal View History

2024-01-10 22:39:31 +04:00
/**
* 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;