Join Slack
Powered by
<https://twitter.com/kotlin/status/117723388006080...
# announcements
u
user
09/26/2019, 2:50 PM
https://twitter.com/kotlin/status/1177233880060809216
Consider providing a paired function returning 'null' together with one throwing an exception. Similar to 'toIntOrNull' accompanying 'toInt'.
https://t.co/kcTTUxdQle
#KotlinTips
https://t.co/LkAmgR3PA9
Twitter
👍 4
😂 9
b
Big Chungus
09/26/2019, 3:02 PM
Could someone explain this?
m
Matteo Mirk
09/26/2019, 3:04 PM
they reposted a corrected version of this:
https://kotlinlang.slack.com/archives/C0922A726/p1569497409321300
where the
toIntOrNull()
example was wrong
k
karelpeeters
09/26/2019, 3:07 PM
s2 = "Nobody is perfect"
nice!
👍 3
😆 1
Open in Slack
Previous
Next