how to check *ngif value is empty in angular code example
Example: angular ngif condition empty or null
<h1>angular ngif check array empty example - itsolutionstuff.com</h1> <div *ngIf="myVar?.length"> <p>Array is not empty.</p></div> <div *ngIf="!myVar?.length"> <p>Array is empty.</p></div>