ID EN
Math

isnan

Python 3.11

Return True if x is a NaN (not a number), and False otherwise.

Syntax

PYTHON
math.isnan(x)