InfluxDB Docs

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.

Data type: Float