math.maxIndex() is a user-contributed function maintained by
the package author and can
be updated or removed at any time.
math.maxIndex() returns the index of the maximum value within the array.
Function type signature
(values: [A]) => int where A: Numeric
(Required) Array of values.
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.