You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
296 B

4 years ago
  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. */
  8. function baseIsNaN(value) {
  9. return value !== value;
  10. }
  11. module.exports = baseIsNaN;