Created
August 5, 2018 19:27
-
-
Save vialyx/337fc55d80ea835727526a2f70655f90 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
/* | |
{ (parameters) -> return type in | |
statements | |
} | |
*/ | |
let BoolClosure: (Bool) -> Void = { parameter in | |
print("\(parameter)") | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment