1
0
mirror of https://github.com/thangisme/notes.git synced 2024-06-26 21:05:32 +00:00
notes/node_modules/lodash/_baseIsNaN.js

13 lines
296 B
JavaScript
Raw Normal View History

2017-03-09 18:16:08 +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;