removeLastOrNull

Removes the last element from this deque and returns that removed element, or returns null if this deque is empty.

Since Kotlin

1.4