mapTo

inline fun <E : Any, R, C : MutableCollection<in R>> EntitySequence<E, *>.mapTo(destination: C, transform: (E) -> R): C(source)

Apply the given transform function to each element of the original sequence and append the results to the given destination.

The operation is terminal.