Skip to content
JS

Learn TypeScript: Type Narrowing

Course on Codecademy

View on Codecademy (opens in a new tab)
1 h
LengthProvider's estimate
Beginner
LevelProvider's label
1
Lessons
Dec 2022
Published13 Dec 2022

About this course

Description from Codecademy

About this course Continue your TypeScript learning journey with Learn TypeScript: Type Narrowing. Leverage TypeScript’s type system to gain insights into the runtime behavior of your code by narrowing down what types unions may actually be. Skills you’ll gain Understand how TypeScript utilizes type narrowing at runtime. Write type guards to check if a variable is a specific type. Check if a property exists in an object using the in operator. Notes on prerequisites We recommend that you complete Learn TypeScript: Union Types before starting this course.

Similar TypeScript courses

  1. Intermediate1 h
    Codecademy1Apr 2024
  2. Intermediate1 h
    Codecademy1Apr 2024
  3. Intermediate1 h
    Codecademy1Apr 2024
  4. Practical Advanced TypeScript

    egghead · Rares Matei · 15 lessons · 4.6 from 56 ratings · Dec 2018

    1 h 3 minSubscription
    egghead154.6 (56)Dec 2018
  5. Advanced Static Types in TypeScript

    egghead · Marius Schulz · 13 lessons · 4.8 from 62 ratings · Nov 2017

    1 h 8 minSubscription
    egghead134.8 (62)Nov 2017
  6. Use Types Effectively in TypeScript

    egghead · Ari Picker · 10 lessons · 4.3 from 86 ratings · Sept 2016

    30 minSubscription
    egghead104.3 (86)Sept 2016
  7. Get Up and Running with TypeScript

    Coursera · Harrison Kong · Mar 2021

    Beginner2 h
    CourseraMar 2021
  8. TypeScript Arrays

    Coursera · Chaitra Deshpande · May 2021

    Intermediate2 h
    CourseraMay 2021

A hyphen means the provider's catalogue does not state the value.

Same topic, nearest in length, up to three from any one provider.

Data read from the Codecademy catalogue on 28 Nov 2026. How the data is collected.

    Compare