kotlin.text.flatMapTo

flatMapTo

inline fun <R, C : MutableCollection<in R>> CharSequence.flatMapTo(
    destination: C, 
    transform: (Char) -> Iterable<R>
): C

Appends all elements yielded from results of transform function being invoked on each character of original char sequence, to the given 登录查看完整内容