Skip to content

Glossary: Kotlin Basics

this

Also written: this.

The object a method (or an extension function) was called on. Inside a method, `name` is the same as `this.name`.

Where the book teaches it

Related terms

methodreceiver