Created
October 22, 2018 22:20
-
-
Save andreaslydemann/8d42dd2b11a587dadf978f9dda71de60 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? = nil | |
let myInt = myOptional ?? 0 | |
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