math.isNaN() function

The math.isNaN() function reports whether f is an IEEE 754 “not-a-number” value.

*Output data type: Boolean*

  1. import "math"
  2. math.isNaN(f: 12.345)
  3. // Returns false

Parameters

f

The value used in the evaluation.

*Data type: Float*