title: angular 6 how to get *ngIf if object is empty
body: <p>I am using angular 6 and trying to check if object is empty or not with below code. as per my understanding it should be printing either of statement, but its printing both, what wrong I am doing
   I am emitting Fake from child to parent  </p>
  
  <p>@Input() Fake: any = {};</p>
  
  <pre><code>&lt;pre *ngIf="Fake?.length &lt;= 0"&gt;
  &lt;h2&gt; empty &lt;/h2&gt;
  &lt;/pre&gt;
  &lt;pre *ngIf="Fake?.length &gt;= 0"&gt;
          &lt;h2&gt;NOT EMPTY &lt;/h2&gt;
   &lt;/pre&gt;
  </code></pre>