concat<T> function

Iterable<T> concat <T>(
  1. Iterable<Iterable<T>> iterables
)

Returns the concatentation of the input iterables.

The returned iterable is a lazily-evaluated view on the input iterables.

Implementation

Iterable<T> concat<T>(Iterable<Iterable<T>> iterables) =>
    iterables.expand((x) => x);