Legend quest · reward 55 XP

Tag it to tell them apart.

🥚

Egg hatching · 0%

Finish every step to hatch your monster!

Step 1 / 6

👾

Discriminated Union

Tag it to tell them apart. 🔍 Why it matters: Big teams use this so their code stays tidy and easy to fix.

type S = {k:'a';x:number} | {k:'b';y:string}