filter Indexed To
abstract fun <C : Appendable> filterIndexedTo(destination: C, predicate: (index: Int, Char) -> Boolean): C
将原始 CharSequenceWrapper 中满足给定谓词的所有字符添加到目标 Appendable 中,并提供字符的索引。
参考 kotlin.sequences.filterIndexedTo
Return
目标 Appendable。
Parameters
destination
目标 Appendable。
predicate
用于测试每个字符的谓词。