value-at
array →
value-at(
position: integer
) → any
Returns the input item at the specified zero-based position. Returns null when the position is negative or out of range, or the input cannot be evaluated.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
position | integer | Yes | Specifies the zero-based position of the item to return. |
Argument evaluation
position: Evaluated once in the enclosing context.
Examples
{"a", "b", "c"} | value-at(1) → "b"
Kind: Function
Scope: array/selection
Aliases: value-at