2026-05-31 13:54:31 +02:00

16 lines
389 B
TypeScript

//#region src/compat/predicate/isNaN.d.ts
/**
* Checks if the value is NaN.
*
* @param {any} value - The value to check.
* @returns {boolean} `true` if the value is NaN, `false` otherwise.
*
* @example
* isNaN(NaN); // true
* isNaN(0); // false
* isNaN('NaN'); // false
* isNaN(undefined); // false
*/
declare function isNaN(value?: any): boolean;
//#endregion
export { isNaN };