Users can test both null and undefined at once in TypeScript using the following syntax.

if (x == null) {

Suggest An Answer

No suggestions avaliable!