HTML tutorial
CSS3 tutorial
Bootstrap tutorial
JavaScript tutorial
JQuery tutorial
AngularJS tutorial
React tutorial
NodeJS tutorial
PHP tutorial
Python tutorial
Python3 tutorial
Django tutorial
Linux tutorial
Docker tutorial
Ruby tutorial
Java tutorial
C tutorial
C ++ tutorial
Perl tutorial
JSP tutorial
Lua tutorial
Scala tutorial
Go tutorial
ASP.NET tutorial
C # tutorial
Math Methods : Check whether a value is NaN or not
The math.isnan()
method checks whether a value is NaN (Not a Number), or not.
This method returns True if the specified value is a NaN, otherwise it returns False.
Parameter | Description |
---|---|
x | Required. The value to check |
Return Value: | A bool value, True if the value is
NaN, otherwise False |
---|---|
Python Version: | 3.5 |