Anonymous Functions and Lambdas – Kotlin
Note! This is a post for beginners in Kotlin language. What are lambdas and anonymous functions? In order to define them let’s see what is a function literal. Function literal Function literal is a function that was not declared, but was passed as an expression. val sum = { a: Int, b: Int -> a + b […]