lastOrNull

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

Since Kotlin

1.4