mirror of
https://github.com/joelwmale/webhook-action.git
synced 2024-08-25 08:08:00 +00:00
13 lines
296 B
JavaScript
13 lines
296 B
JavaScript
|
/**
|
||
|
* 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;
|