Level 1M3Lesson 3.5

beginner35 minby DevFox

Checking for null: a first look at narrowing

Check a box for null or undefined with if, and read the type TypeScript gives it inside the check, in the else and after the block. See why a check takes away only the nothing it names, and make TaskKit tell a person who typed ADD that commands are lower case.

  • Fundamentals
  • TypeScript
Checking for `null`: a first look at narrowing. Read this lesson at .