removeLast
Removes the last element from this deque and returns that removed element, or throws NoSuchElementException if this deque is empty.
Try the revamped Kotlin docs design →
Try the revamped Kotlin docs design!
Removes the last element from this deque and returns that removed element, or throws NoSuchElementException if this deque is empty.