อาจจะเพราะอันนี้ป่าวครับ <https://kotlinlang.org/d...
# thailand
s
อาจจะเพราะอันนี้ป่าวครับ https://kotlinlang.org/docs/reference/lambdas.html A return statement without a label always returns from the function declared with the fun keyword. This means that a return inside a lambda expression will return from the enclosing function, whereas a return inside an anonymous function will return from the anonymous function itself.
👍 1