FIRST Keyword π‘ BETA
FIRST returns the first element of a list.
Syntax
FIRST(list)
Example
FIRST(items)
What it does
FIRST is a registered engine function used as a call expression; it reads element zero of a list.
Limits
- Registered with positional arguments only β the signature shown is the exact form; named arguments are not part of the keyword.
- Registered as an engine function, not a statement (
crates/botbasic_core/src/keywords/first.rs).