Join Slack
Powered by
<https://twitter.com/kotlin/status/126775031402480...
# announcements
u
user
06/02/2020, 9:30 AM
https://twitter.com/kotlin/status/1267750314024808450
On a map, use 'withDefault' to get a wrapper that obtains a default value when using 'getValue' on a key that is not present. Note that this does not change the behavior of the indexed access operator x[idx] / x.get(idx)!
https://t.co/kldivSn4mI
#KotlinTips
https://t.co/VM20ZtrWbi
Twitter
🤘 4
👍 11
m
Michael de Kaste
06/03/2020, 8:23 AM
you learn something every day
Open in Slack
Previous
Next