Full name
math.isnan
Library
math
Syntax
math.isnan(number)
Description
The math.isnan function returns the Boolean True if the number passed as an argument is a NaN (Not a Number), or False otherwise.
Parameters
- number: Number to evaluate. It must be an integer or real number (not a complex number).
Result
math.isnan returns a boolean.