Skip to content

Glossary: Kotlin Basics

lambda

Also written: lambdas

A piece of code in braces that you can store in a variable or pass to a function. Its parameters come before `->` and its value is its last line.

Where the book teaches it

Related terms

function typeittrailing lambda