Created
October 29, 2014 04:07
-
-
Save mattyohe/7df92ec63d19a876794d to your computer and use it in GitHub Desktop.
True/False not exhaustive.
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 yesNo: Bool = true | |
switch (yesNo) { | |
case true: | |
println("True") | |
case false: | |
println("False") | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment