Number.IsNaN
Number.IsNaN(number as number) as logical
Indicates if the value is NaN (Not a number). Returns true
if number
is equivalent to Number.IsNaN, false
otherwise.
Check if 0 divided by 0 is NaN.
Usage
Number.IsNaN(0/0)
Output
true
Check if 1 divided by 0 is NaN.
Usage
Number.IsNaN(1/0)
Output
false