Number.IsNaN
Syntax
Number.IsNaN(number as number) as logical
About
Indicates if the value is NaN (Not a number). Returns true
if number
is equivalent to Number.IsNaN, false
otherwise.
Example 1
Check if 0 divided by 0 is NaN.
Usage
Number.IsNaN(0/0)
Output
true
Example 2
Check if 1 divided by 0 is NaN.
Usage
Number.IsNaN(1/0)
Output
false
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for