Hey guys, just sharing a cool extension > inli...
# kotlin-native
r
Hey guys, just sharing a cool extension
inline fun <T> massAction(vararg objects: T, block: T.() -> Unit) {
objects.forEach {
block(it)
}
}
this is nice if you need to update many instances of the same class at once