A one line solution to checking if an object is undefined or null that asserts this so that strict compilers flag the variable as potentially undefined or null.
The object that should be checked if it is undefined or null.
A one line solution to checking if an object is undefined or null that asserts this so that strict compilers flag the variable as potentially undefined or null.