Skip to content

first

In std/seq.

fn first(self) : Option<T>

The element at position 0, or none over an empty sequence: [3, 1, 2] | first is 3.