Join Slack
Communities
Powered by
<@U0KBF8D7V> A better example would be if you had ...
# announcements
m
mg6maciej
02/02/2017, 10:49 AM
@Paul Woitaschek
A better example would be if you had a case of downcasting like this:
Copy code
fun test(a: Any?) { val b: Int? = a as Int? val c: Int? = a as? Int }
and try to pass
String
.
👍 2
Open in Slack
Previous
Next