JavaScript Number.isNaN() method
Nov 2, 2020
NaN means not a number.
The Number.isNaN() method check whether the provided value is NaN and its type is number. The given value is to be exactly NaN.
isNaN() method returns true if given arguments is not a number. And return false if the given value is a number.