api-docs / org.ktorm.entity / flatMapIndexed
flatMapIndexed
inline fun <E : Any, R> EntitySequence<E, *>.flatMapIndexed(
transform: (index: Int, E) -> Iterable<R>
): List<R>
(source code)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