But what does `this` refer to inside that method?
# announcements
k
But what does
this
refer to inside that method?
d
It's the receiver of the extension function. You can use
this@MyClass
to get to the instance of the class containing the extension function.
k
Ah nice, the
@
thing shows up again.