Introduction

Heads up... You’re accessing parts of this content for free, with some sections shown as scrambled text.

Heads up... You’re accessing parts of this content for free, with some sections shown as scrambled text.

Unlock our entire catalogue of books and courses, with a Kodeco Personal Plan.

Unlock now

You’ve learned how to pass parameters to a function and return a value from a function.

In Kotlin, functions can be stored in variables, passed as parameters to other functions, or returned from other functions. To achieve this, Kotlin provides specialized language constructs called lambda expressions.

In this lesson, you’ll learn about lambda expressions. You’ll understand how lambda expressions are different from other functions, learn the syntax of creating a lambda expression, define a lambda expression, and learn how to call it in your code.

Gear up! You’re about to start writing more expressive code.

See forum comments
Download course materials from Github
Previous: Quiz: Function Parameters and Named & Default Arguments Next: Instruction