tornadofx / tornadofx / kotlin.Array

Extensions for kotlin.Array

mapEach fun <T, R> Array<T>.mapEach(action: T.() -> R): <ERROR CLASS>

map with the element as receiver.

mapEachTo fun <T, R, C : MutableCollection<in R>> Array<T>.mapEachTo(destination: C, action: T.() -> R): <ERROR CLASS>

mapTo with the element as receiver.

withEach fun <T> Array<T>.withEach(action: T.() -> Unit): <ERROR CLASS>

forEach with the element as receiver.