let

fun <T, R> let(obj: T, block: Function<T, R>): R

Calls the specified function block with obj value as its argument and returns its result.