pick
tuple →
pick(
...positions: integer
) → tuple
Returns a tuple containing selected positions in the requested order.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
positions | integer | Variadic (one or more) | One or more zero-based tuple positions. |
Examples
T("John", "Smith", 42) | pick(1, 0) → T("Smith", "John")
Kind: Function
Scope: tuple
Aliases: pick