whereSome method

Iterable<Some<T>> whereSome()

Implementation

Iterable<Some<T>> whereSome() {
  return where((e) => e.isSome()).map((e) => e.some().unwrap());
}