joinToText

fun <T> Collection<T>.joinToText(separator: Component, prefix: Component? = null, postfix: Component? = null, transform: Function<in T, out Component>): Component


@JvmName(name = "stringsJoinToText")
fun Collection<String>.joinToText(separator: Component): Component

Joins a list of String into a single Component with the given separator.


fun Collection<Component>.joinToText(separator: Component): Component

Joins a list of Component into a single Component with the given separator.