Anonymous Functions

Also known as a (function literal, lambda abstraction, or lambda expression). It's a function definition that is not bound to an identifier. Anonymous functions are often arguments being passed to higher-order functions, or used for constructing the result of a higher-order function that needs to return a function.

Examples in Kotlin
No examples yet.
You can see if there are examples in other languages or
be the first to post an example in Kotlin!