collapse

fun collapse(toStart: Boolean = definedExternally)(source)

Since Kotlin

1.1