kbox-android / ch.tutteli.kbox / kotlin.collections.Iterable / appendToStringBuilder

appendToStringBuilder

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

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