tuple-at
tuple →
tuple-at(
position: integer
) → any
Returns the tuple field at the specified zero-based position. Returns null when the input is not a tuple or the position is out of range.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
position | integer | Yes | Specifies the zero-based position of the tuple field to return. |
Examples
T(10, 20, 30) | tuple-at(1) → 20
Kind: Function
Scope: tuple
Aliases: tuple-at