1.4 KiB
1.4 KiB
| title | description | menu | weight | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| runtime.version() function | `runtime.version()` returns the current Flux version. |
|
101 |
runtime.version() returns the current Flux version.
Function type signature
() => string
{{% caption %}} For more information, see Function type signatures. {{% /caption %}}
Examples
Return the Flux version in a stream of tables
import "array"
import "runtime"
array.from(rows: [{version: runtime.version()}])
{{< expand-wrapper >}} {{% expand "View example output" %}}
Output data
| version |
|---|
| (devel) |
{{% /expand %}} {{< /expand-wrapper >}}