toCollection
fun <T, C : MutableCollection<in T>> Sequence<T>.toCollection(
destination: C
): C
Appends all elements to the given destination collection.
The operation is terminal.
fun <T, C : MutableCollection<in T>> Sequence<T>.toCollection(
destination: C
): C
Appends all elements to the given destination collection.
The operation is terminal.