cataMaybes method

Iterable<T> cataMaybes()

Catamorph an iterable of Maybe<T>s into an iterable of T, keeping the Just values and discarding the None values.

Implementation

Iterable<T> cataMaybes() => expand((e) => e.toList());