Higher-Order Function (Kotlin)

A higher-order function is one that takes another function as a parameter or returns a function.