isNaN
Checks if a value is NaN.
Usage
isNaN(value: unknown)
Checks if a value is NaN.
Parameters
valueunknownrequired
the value to test.
Returns
whether value is the numeric NaN value; a true result narrows it to number.