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

The Discriminant Property

A shared property with distinct literal values that TypeScript uses to narrow the union.

This lesson is for subscribers

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