4 ms·
> In Kotlin, does the “it” of a lambda hide a variable named “it” in the outer scope? Yes, which is why it's recommended to name your closure parameter (instea
by hota_mazi 5y ago
> In Kotlin, does the “it” of a lambda hide a variable named “it” in the outer scope?
Yes, which is why it's recommended to name your closure parameter (instead of using `it`) when you nest these.