Join Slack
Powered by
After a cast the perceived type of a variable chan...
# announcements
k
karelpeeters
10/21/2017, 4:49 PM
After a cast the perceived type of a variable changes:
Copy code
fun foo(a: Any) { a as String println(a.reverse()) //a is String now }
Open in Slack
Previous
Next