Created
May 20, 2020 09:23
-
-
Save stevencurtis/94c5aa1fd966829ef812760f6e09ab7c to your computer and use it in GitHub Desktop.
twofunctions
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 outputString(str: String) { | |
print (str) | |
} | |
func whenComplete() { | |
print ("complete") | |
} | |
outputString(str: "Hello, World!") // Hello, World! | |
whenComplete() // complete |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment