Legend quest · reward 55 XP

Function that takes a function.

🥚

Egg hatching · 0%

Finish every step to hatch your monster!

Step 1 / 6

👾

Higher-order fn

Function that takes a function. 🔍 Why it matters: This is how apps store lots of things at once, like a monster's backpack.

fun run(f: () -> Unit) = f()