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`.
Glossary: Kotlin Beyond the Basics
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`.