Skip to content

last

In std/seq.

fn last(self) : Option<T>

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