Type Narrowing with Custom Functions in Typescript February 12, 2023 2 minute read Typescript has union types and there are many ways to narrow the types