Type Guards and Narrowing
Learning Objectives
Lesson Outline
Discriminated Unions
Learn
Handle API Results
Code Challenge
Use a common property to discriminate between types: