In this lesson, we will explain how to narrow down types using TypeScript type guards. Let's consider a function that can accept a product's weight as either a number, such as 2.5, or a string, such ...