Skip to content

Glossary: Kotlin Basics

receiver

The type or value an extension function is called on. Inside the function it is `this`; in `fun String.initials()`, the receiver is a String.

Where the book teaches it

Related terms

extension functionthis