Join Slack
Communities
Powered by
if you’re dealing with keys that may not already b...
# getting-started
s
Shawn
10/03/2018, 2:23 AM
if you’re dealing with keys that may not already be there, you could do something like
map.getOrPut(TypeA, ::mutableListOf).add(TypeB)
Open in Slack
Previous
Next