firstOption property

Option<T> firstOption

Get the first element of the Iterable. If the Iterable is empty, return None.

Same as head.

Implementation

Option<T> get firstOption => head;