filterTo
inline fun <T, C : MutableCollection<in T>> Sequence<T>.filterTo(
destination: C,
predicate: (T) -> Boolean
): C
Appends all elements matching the given predicate to the given destination.
The operation is terminal.
inline fun <T, C : MutableCollection<in T>> Sequence<T>.filterTo(
destination: C,
predicate: (T) -> Boolean
): C
Appends all elements matching the given predicate to the given destination.
The operation is terminal.