Glossary: Kotlin Beyond the Basics
scope function
Also written: let, run, with, also, takeIf
Functions that run a lambda on one object: `let` and `also` use `it`, while `run`, `with` and `apply` use `this`. They differ in what they return.
Glossary: Kotlin Beyond the Basics
Also written: let, run, with, also, takeIf
Functions that run a lambda on one object: `let` and `also` use `it`, while `run`, `with` and `apply` use `this`. They differ in what they return.