TypeScript if a value is false then everything in the object is undefined code example
Example: if undefined angular
/* Then you can check if the variable z is undefined as:*/
let myvariable : any;
if(myvariable === undefined)
{
}
/* Then you can check if the variable z is undefined as:*/
let myvariable : any;
if(myvariable === undefined)
{
}