Describe the problem
The codelab says that -quote-: "The let() function is similar to apply(), but it returns a copy of the object with the changes. This can be useful for chaining manipulations together." This is not true, the let() function returns the RESULT of the supplied lambda expression, not a copy of the object. Source: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/let.html
In which step of the codelab can this issue be found?
Kotlin Bootcamp for Programmers 6: Functional manipulation. Step 5
Steps to reproduce?
Step 5
Additional information
This is the mar. 29, 2021 version of the codelab
Describe the problem The codelab says that -quote-: "The let() function is similar to apply(), but it returns a copy of the object with the changes. This can be useful for chaining manipulations together." This is not true, the let() function returns the RESULT of the supplied lambda expression, not a copy of the object. Source: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/let.html
In which step of the codelab can this issue be found? Kotlin Bootcamp for Programmers 6: Functional manipulation. Step 5
Steps to reproduce? Step 5
Additional information This is the mar. 29, 2021 version of the codelab
codelab: kotlin-bootcamp