Glossary: Kotlin Beyond the Basics
higher-order function
A function that takes or returns another function, such as `discount` returning a lambda.
Glossary: Kotlin Beyond the Basics
A function that takes or returns another function, such as `discount` returning a lambda.