This has been answered in an older thread: listOf, arrayListOf, setOf, etc - #5 by ilya.gorbunov
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Error in mutableMapOf | 2 | 816 | December 14, 2021 | |
| Which concrete implementation is returned from functions like mutableMapOf, mapOf, setOf, listOf function? | 3 | 2271 | February 29, 2020 | |
| Idiomatic fold on mutable map | 2 | 1749 | March 4, 2019 | |
|
MutableSet viewa for MutableMap make no sense
|
3 | 149 | June 23, 2025 | |
| Copy on unmutablelist | 6 | 7447 | April 10, 2018 |