Skip to content

Glossary: Kotlin Beyond the Basics

lambda with receiver

Also written: receiver

A lambda that runs as if it were a member of an object, the receiver, so `this` is that object. Its type looks like `Receipt.() -> Unit`.

Where the book teaches it

Related terms

builderDSL