Functions as first-class citizens in Swift
suggest changeIntroduction
Functions as first-class values can be used like other values. A function can be assigned to a variable, passed as a parameter, or returned.
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents