Join Slack
Communities
Powered by
<@U0KBF8D7V> if `xyz: String` and you do `xyz as? ...
# announcements
a
Andreas Sinz
02/02/2017, 9:58 AM
@Paul Woitaschek
if
xyz: String
and you do
xyz as? Int
, you'll get null. with
xyz as Int?
you will get a
ClassCastException
Open in Slack
Previous
Next