Last¶
| Name | Mandatory | Description | Default | Type |
|---|---|---|---|---|
⬅️ Input |
A table or sequence to get the last element from. | [Any]{Any} |
||
Output ➡️ |
For sequences: the last value. For tables: a [key, value] pair. | Any |
Returns the last element from a sequence or table. For tables, returns a [key, value] pair. Throws an error if empty. Note: This operation is fast but unsafe unless the output is cloned (using Set instead of Ref) when combined with await or suspended wire flow.