You are viewing documentation for version v1.6.x. View latest version.
index finds the element at the index when handling lists, or the element at the key when handling maps.
index
index(list, value)
> index(["a", "b", "c"], 1) "b"
> index({"a"=1, "c"=2, "d"=3}, "c") 2
element
On this page: