kotlin.sequences.filterIndexedTo

filterIndexedTo

inline fun <T, C : MutableCollection<in T>> Sequence<T>.filterIndexedTo(
    destination: C, 
    predicate: (index: Int, T) -> Boolean
): C

Appends all elements matching the given predicate to the given 登录查看完整内容