lambdaOf

inline fun lambdaOf(noinline block: () -> Unit): () -> Unit(source)
inline fun <T, R> lambdaOf(noinline block: (T) -> R): (T) -> R(source)

Used in places when curly braces are needed (if and when) to make the code look better.