org.http4k.connect.util.kt Maven / Gradle / Ivy
package org.http4k.connect
import kotlin.reflect.KClass
inline fun kClass(): KClass = T::class
// TODO suggesting moving into http4k-core: KotlinExtensions.kt
fun StringBuilder.appendAll(items: Collection, fn: (T) -> String): StringBuilder {
for (item in items) {
append(fn(item))
}
return this
}