concatMap<B> method

Iterable<B> concatMap<B>(
  1. Iterable<B> f(
    1. T t
    )
)

Apply f to each element of the Iterable and flat the result using concat.

Same as bind and flatMap.

Implementation

Iterable<B> concatMap<B>(Iterable<B> Function(T t) f) => map(f).concat;