ts-null-or-undefined
Best way to check for null or undefined in typescript using a type guard. Can strip out null or undefine or complex types like T | null etc.
To use:
; let a: number | null = 0; console; //Error: a might be null if!Type console; //Works