math.signbit() function reports whether
x is negative or negative zero.
Output data type: Boolean
import "math" math.signbit(x: -1.2) // Returns true
The value used in the evaluation.
Was this page helpful?
Thank you for your feedback!
Support and feedback
Thank you for being part of our community! We welcome and encourage your feedback and bug reports for Flux and this documentation. To find support, use the following resources:
InfluxDB Cloud customers can contact InfluxData Support.