last

open override fun last(): E?

Provides the element at the end of the collection.

Return

The element at the end of the collection or null if the collection is empty.