Kotlin Lambdas and Higher-Order Functions
Learn about Kotlin functions, lambdas, and higher-order functions.
We'll cover the following
Functions
Kotlin uses the keyword fun
to declare functions, which can take parameters and return values. Here’s an example of declaring a function in Kotlin:
Get hands-on with 1200+ tech skills courses.