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.
5 lines
244 B
5 lines
244 B
import { getType } from './getType.js';
|
|
/** Returns whether the payload is literally the value `NaN` (it's `NaN` and also a `number`) */
|
|
export function isNaNValue(payload) {
|
|
return getType(payload) === 'Number' && Number.isNaN(payload);
|
|
}
|