since mapOf() on the jvm internally uses a LinkedH...
# announcements
p
since mapOf() on the jvm internally uses a LinkedHashMap which seems to keep order: so, does kotlin-mapOf() officially guarantee that the order of adding entries is preserved?
d
Yes: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/map-of.html
Entries of the map are iterated in the order they were specified.
­čĹŹ 3
p
oh nice, thank you Take