Created
September 6, 2017 17:56
-
-
Save cgoldsby/9d4f6abb6e9961e566bb1ab0506e0b3c 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
func myFunction(value: Any?) { | |
guard let _ = value else { return valueIsNilDoSomething() } | |
valueIsNotNilDoSomethingElse() | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment