Last active
June 24, 2020 13:34
-
-
Save Sethathi/b56bc78006d27e09b8a276abd115b188 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
// Why won't this compile? | |
var name: String? | |
if name != nil { | |
displayName(name: name) | |
} | |
func displayName(name: String) { | |
// display name | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment