isnan
Syntax Format
isnan(value)
Overview
The isnan function determines if the value type is not numeric or the value is nan. This function can be used for checking the data results after various operations in a script.
Parameters
| Parameter | Purpose | 
|---|---|
| value | Input value | 
Returns: boolean.
Example
given_value = 10
if isnan(given_value) then
    print("given_value is nan")
else
    print("given_value is numeric")
end