dynamic.asArray() function

dynamic.asArray() is experimental and subject to change at any time.

dynamic.asArray() converts a dynamic value into an array of dynamic elements.

The dynamic input value must be an array. If it is not an array, dynamic.asArray() returns an error.

Function type signature
(<-v: dynamic) => [dynamic]
For more information, see Function type signatures.



Dynamic value to convert. Default is the piped-forward value (<-).

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.