first

Returns the first element.

Since Kotlin

1.7

Throws

if the progression is empty.