kotlin.text.filterNotTo

filterNotTo

inline fun <C : Appendable> CharSequence.filterNotTo(
    destination: C, 
    predicate: (Char) -> Boolean
): C

Appends all characters not matching the given predicate to the given destination.