Problem Statement
What is a higher-order function in Swift?
Explanation
In Swift a higher-order function is one that either receives functions as parameters or returns functions as its result. This enables abstraction over behaviour, not just data.
Practice Sets
This question appears in the following practice sets: