Functions like 'apply' and 'with' use lambdas with receivers, giving access to the object's scope via 'this'.
← Kotlin theorytheory 0/50 · 0%
Fundamentals · medium
33. Lambdas with Receivers
Foundation for DSLs.
Check your understanding
1. Which scope function returns the object?
2. Function type syntax?