with

inline fun <T, R> with(receiver: T, block: T.() -> R): R(source)

Calls block with receiver as its receiver and returns its result.