array.last

The last element. Runtime error on an empty array.

array.last(id: array<any>) -> element type

Parameters

Example

newest = a.last()