install-nix-action/node_modules/lodash/_baseIsNaN.js

13 lines
296 B
JavaScript
Raw Permalink Normal View History

2019-11-19 16:50:30 +00: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;