Function types
suggest changeEvery function has a function type, made of its parameter types and its return type. For example:
func sum(x: Int, y: Int) -> Int { return x + y }
has a function type of:
(Int, Int) -> (Int)
A function type can itself be a parameter type or a return type.
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents