This lesson is for subscribers
You've completed the free preview. Subscribe to unlock every lesson in every course.
Using 'in' to distinguish between object types in a union by checking for unique properties on each variant.
You've completed the free preview. Subscribe to unlock every lesson in every course.