Course contentsShow
TypeScript
Lesson 193 of 1,7965. Type Narrowing FundamentalsPro lesson

Narrowing with typeof 'boolean'

Using typeof checks to separate booleans from other primitive types in unions.

This lesson is for subscribers

You've completed the free preview. Subscribe to unlock every lesson in every course.