Hacker News new | ask | show | jobs
by jeeyoungk 440 days ago
yes `== null` is quite convenient for the null or undefined check.

In general, the whole `==` versus `===` is a silly argument in a typescript codebase, because if you know the types of the arguments, `==` behaves predictably.