Skip to main content
Journey Uncommon Logo
JourneyUncommon
mediumKotlininline functionsSingle-choice MCQ

In this code, what happens at the `return` statement inside the lambda passed to `inlined`?

inline fun inlined(block: () -> Unit) { block() } fun caller() { inlined { println("before") return println("after") } println("end of caller") }