let<T2> method
T2
let<T2>(
- T2 closure(
- T value
Kotlin.also相当の処理を行う. thisをclosureに渡し、処理後にthisを再度返却する.
Implementation
T2 let<T2>(T2 Function(T value) closure) {
return closure(this);
}