Check if Variable is Empty - Angular 2
<p>How can one check if a variable is empty in Angular 2? I know that there are native ways such as </p>

<p><code>if (myVar === null) {do stuff}</code> </p>

<p>but I am looking for something like Angular 1 had such as </p>

<p><code>if (angular.isEmpty(variable)) { do stuff }</code>.</p>

<p><strong>Q</strong> How do check if variable is empty using Angular 2?</p>