Is there a way to factorize the
(places$ | async)
in
<div *ngIf="(places$ | async) === undefined">Loading...</div>
<div *ngIf="(places$ | async) === null">No data</div>
<div *ngIf="(places$ | async) != null">{{ (places$ | async) }}</div>
I indeed store an array of places in my observable, and I need to check if the observable is either undefined or null or not empty.
Best regards,