first
Returns first element.
Throws
if the sequence is empty.
The operation is terminal.
Returns the first element matching the given predicate.
Throws
if no such element is found.
The operation is terminal.
Returns first element.
if the sequence is empty.
The operation is terminal.
Returns the first element matching the given predicate.
if no such element is found.
The operation is terminal.