Last active
October 23, 2018 06:50
-
-
Save andreaslydemann/da93b208f8793414f0c5d6858f06593b 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
let myOptional: Int? = 10 | |
guard let myInt = myOptional else { | |
print("myInt has no value.") | |
} | |
print("myInt has a value of \(myInt).") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment