source: node_modules/lodash/_baseIsNaN.js@ d24f17c

main
Last change on this file since d24f17c was d24f17c, checked in by Aleksandar Panovski <apano77@…>, 15 months ago

Initial commit

  • Property mode set to 100644
File size: 296 bytes
Line 
1/**
2 * The base implementation of `_.isNaN` without support for number objects.
3 *
4 * @private
5 * @param {*} value The value to check.
6 * @returns {boolean} Returns `true` if `value` is `NaN`, else `false`.
7 */
8function baseIsNaN(value) {
9 return value !== value;
10}
11
12module.exports = baseIsNaN;
Note: See TracBrowser for help on using the repository browser.