Created
July 1, 2019 09:14
-
-
Save Temidtech/7884f3cf9b5ebff4929736832db26026 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var y = 5 | |
var x = y as? String | |
println(x) //gives a null as a result |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment