Documentation

math.isNaN() function

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

Output data type: Boolean

import "math"

math.isNaN(f: 12.345)

// Returns false

Parameters

f

The value used in the evaluation.


Was this page helpful?

Thank you for your feedback!


Upgrade to InfluxDB Cloud or InfluxDB 2.0!

InfluxDB Cloud and InfluxDB OSS 2.0 ready for production.