# TypeScript Type Guards & Narrowing Tutorial

> typeof, instanceof, in operator, custom type guards, assertion functions, and control flow analysis.

Canonical: https://www.internhack.in/learn/typescript/type-guards-and-narrowing
Last updated: 2026-11-28

typeof, instanceof, in operator, custom type guards, assertion functions, and control flow analysis.

## 5 lessons in this section

- [typeof Narrowing](https://www.internhack.in/learn/typescript/type-guards-and-narrowing/typeof-narrowing) (Intermediate)
- [instanceof & in Narrowing](https://www.internhack.in/learn/typescript/type-guards-and-narrowing/instanceof-and-in) (Intermediate)
- [Custom Type Guards](https://www.internhack.in/learn/typescript/type-guards-and-narrowing/custom-type-guards) (Intermediate)
- [Assertion Functions](https://www.internhack.in/learn/typescript/type-guards-and-narrowing/assertion-functions) (Advanced)
- [Exhaustive Checks & satisfies](https://www.internhack.in/learn/typescript/type-guards-and-narrowing/exhaustive-checks) (Advanced)

## Related

- [Learn](https://www.internhack.in/learn)
- [TypeScript](https://www.internhack.in/learn/typescript)
