function joinToString
source · line 7public
public fun <T> Iterable<T>.joinToString(separator: String = ", ", prefix: String = "", postfix: String = "", limit: Long = -1L, truncated: String = "...", transform: (T) -> String): String
Extension receiver: Iterable<T>
Joins rendered elements with separator, prefix, and postfix. A nonnegative limit bounds rendered elements and appends truncated text when more remain.
parameter prefix
source · line 8public
prefix: String = ""
parameter separator
source · line 8public
separator: String = ", "
type parameter T
source · line 7public
T
parameter receiver
source · line 7public
Iterable<T>
parameter truncated
source · line 9public
truncated: String = "..."
parameter limit
source · line 9public
limit: Long = -1L
parameter transform
source · line 9public
transform: (T) -> String
parameter postfix
source · line 8public
postfix: String = ""