kbox-android / ch.tutteli.kbox / kotlin.sequences.Sequence / appendToStringBuilder

appendToStringBuilder

inline fun <T> Sequence<T>.appendToStringBuilder(sb: StringBuilder, separator: String, append: (it: T) -> Unit): Unit (source)

Appends all elements of this Sequence to the given sb by calling append and separates the elements with the given separator.