How could you check null and undefined in TypeScript? Technology Community › Category: TypeScript › How could you check null and undefined in TypeScript? 0 Vote Up Vote Down VietMX Staff asked 4 years ago Just use: if (value) { } It will evaluate to true if value is not: null undefined NaN empty string '' 0 false TypesScript includes JavaScript rules.