Created
August 10, 2018 02:50
-
-
Save mildocjr/d8e8cd8d1e1e1f068d2f2153fbe75868 to your computer and use it in GitHub Desktop.
if-else-1
This file contains hidden or 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 hasCoffee = false | |
| var madeCup: Bool | |
| if hasCoffee { | |
| madeCup = true | |
| } else { | |
| madeCup = false | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment