First¶
Name | Mandatory | Description | Default | Type |
---|---|---|---|---|
⬅️ Input |
A table or sequence to get the first element from. | [Any] {Any} |
||
Output ➡️ |
For sequences: the first value. For tables: a [key, value] pair. Returns None if input is empty. | Any |
Returns the first element from a sorted table or sequence. For tables, returns a [key, value] pair. Returns None 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.