Mark
06/01/2019, 10:28 AM.also {
targetList.addAll(it)
}
Pavlo Liapota
06/01/2019, 10:35 AMval mutableList = mutableListOf(1, 2)
listOf(3, 4).mapTo(mutableList) { it }
stevecstian
06/01/2019, 10:39 AMfilterTo
Pavlo Liapota
06/01/2019, 10:39 AMval mutableList = mutableListOf(1, 2)
listOf(3, 4).toCollection(mutableList)
Mark
06/01/2019, 10:40 AM