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

instanceof for Class Unions

Using instanceof to narrow unions of class instances to specific subtypes.

This lesson is for subscribers

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