Skip to content

last

In std/seq.

fn last(self: Window<T>) : T
fn last(self) : Option<T>

The element at the last position, or none over an empty sequence: [3, 1, 2] | last is 2. Of a window, the last row of its partition.