kotlin.sequences.filterTo

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 登录查看完整内容