Course contentsShow
TypeScript
Lesson 404 of 1,7969. Union TypesPro lesson

What Is a Discriminated Union?

A union of object types sharing a common literal property that distinguishes each variant.

This lesson is for subscribers

You've completed the free preview. Subscribe to unlock every lesson in every course.