LAST Keyword π‘ BETA
LAST returns the final element of a list.
Syntax
LAST(list)
Example
LAST(items)
What it does
LAST is a registered engine function used as a call expression; it reads the last element 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/last.rs).