check if value not nan code example
Example 1: check if value is NaN
Number.isNaN(123)
Example 2: how to check if a string value is nan in python
if(term != term):
print("it's a nan value")
Number.isNaN(123)
if(term != term):
print("it's a nan value")