Last active
October 17, 2015 13:06
-
-
Save cennydavidsson/5e37150bc12cf7e0e246 to your computer and use it in GitHub Desktop.
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
| func add(x: Int?, y: Int?) -> Int? { | |
| if let x = x, y = y where x.isEven { | |
| return x + y | |
| } | |
| return .None | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment