flatMapIndexed

inline fun <E : Any, R> EntitySequence<E, *>.flatMapIndexed(transform: (index: Int, E) -> Iterable<R>): List<R>(source)

Return a single list of all elements yielded from results of transform function being invoked on each element and its index in the original sequence.

The operation is terminal.

Since

3.1.0