removeFirst

Removes the first element from this deque and returns that removed element, or throws NoSuchElementException if this deque is empty.

Since Kotlin

1.4