https://kotlinlang.org logo
#announcements
Title
# announcements
l

LeoColman

05/18/2020, 7:26 PM
Perhaps
Copy code
hashTwo = hashOne.map { (k, v ) -> k!! to v}
🧵 1
👍 1
r

rax

05/18/2020, 8:28 PM
or
Copy code
hashTwo = hashOne.mapKeys { it.key!! }
Still not sure what the use case of this is tho.