2/3/2020
•
EN
TypeScript: Check for object properties and narrow down type
A guide to using type predicates and helper functions in TypeScript to safely check for object properties and narrow types.