last

fun last(): E(source)

Returns the last element, or throws NoSuchElementException if this deque is empty.

Since Kotlin

1.4