Core API – Kotlin Programming Language (original) (raw)
inline fun <T, R> T.let(block: (T) -> R): R(source)
Calls the specified function block with this value as its argument and returns its result.
For detailed usage information see the documentation for scope functions.
Since Kotlin
1.0