Join Slack
Powered by
btw., I do not thing that casting `Int` to `String...
# getting-started
b
brumla
06/01/2017, 4:56 AM
btw., I do not thing that casting
Int
to
String?
is a good idea:
Copy code
val y : Int = 1234 val x : String? = y as? String println(x)
results in
null
4
Views
Open in Slack
Previous
Next