list->first

list->first is a member in the List, Queue, and Stack group; call it on the receiver shown before the arrow.

Target member

Signature

1list->first

list->first is a member in the List, Queue, and Stack group; call it on the receiver shown before the arrow.

list->first is called with member syntax on a receiver value. list->first is useful when moving through groups of values. Prefer collection operations that match the shape of the data rather than converting everything to strings.

Examples

Basic call

1list->first
The example shows the normal call shape. Adapt variable names, validation, and surrounding error handling to the context.