stdlib
1.8
1.8
1.7
1.6
1.5
1.4
1.3
1.2
1.1
1.0
Common
stdlib
/
kotlin.collections
/
ArrayDeque
/
first
first
fun
first
(
)
:
E
(
source
)
Returns the first element, or throws
NoSuchElementException
if this deque is empty.
Since Kotlin
1.2