All challenges
Multiple ChoiceHard 180s

[TypeScript] asserts Refine union types

asserts x is Type. Throws if narrow fails.
Options
  1. 1Generics
  2. 2Union/Intersection
  3. 3Type narrowing
  4. 4Utility types

Think you can answer under pressure?

Get matched and answer live questions in 3-minute 1v1 battles. Elo ranking, badge tiers and bragging rights on the line.

Play this in a 3-minute battle