TypeScript Type Guards
Channel: ProgramArtist
Date: 2017-05-20

In this episode I show the Type Guard feature in TypeScript

00:35 typeof type guard
02:58 instanceof type guard
06:20 custom made type guard
12:09 why type guards are usefull in typescript?


You can see all the code here:
https://github.com/slavik57/typescript-playground

Learn TypeScript:
https://www.youtube.com/playlist?list=PLtm06noQc9vmfoC4U0w90HTIRzpVKeXlC