Course contentsShow
TypeScript
Lesson 215 of 1,7965. Type Narrowing FundamentalsPro lesson

Narrowing Class Hierarchies with instanceof

Using 'instanceof' to narrow from a base class or interface to derived classes in inheritance hierarchies.

This lesson is for subscribers

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