Rainer Stropek | @rstropek
Angular releases
function isDefined<T>(value: T | null | undefined): value is T { return value !== null && value !== undefined; }