collect<B> method

  1. @override
IndexedSeq<B> collect<B>(
  1. Function1<A, Option<B>> f
)
override

Returns a new collection by applying f to each element an only keeping results of type Some.

Implementation

@override
IndexedSeq<B> collect<B>(Function1<A, Option<B>> f) =>
    super.collect(f).toIndexedSeq();