Join Slack
Powered by
Good question to ask here is “okay, I got null fro...
# stdlib
o
orangy
12/03/2015, 10:41 AM
Good question to ask here is “okay, I got null from
toInt
, now what?” If you find it more often would be
s.toInt() ?: throw SomeException()
it wouldn’t be much better than throw it right away.
2
Views
Open in Slack
Previous
Next