aboutsummaryrefslogtreecommitdiff
path: root/node_modules/lodash/_baseIsNaN.js
blob: 316f1eb1ef09fbf3974928ab898ba5209c4759e0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/**
 * 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;