A higher-order function accepts one or more functions as arguments or it returns a function. It can also do both.
[swift] 16. 고차 함수(Higher-order function)
Understanding Higher Order Functions in Swift
Higher Order Functions in Swift (Sorted, Map, Filter, Reduce)