Inserting Seperators in Bound Ion-list

I’m trying to insert separators/dividers at certain spots in my list. I have the list bound to an observable:

    <ion-item button *ngFor="let item of (results | async)" routerDirection="forward" routerLink="/{{ item.itemPage }}">
      <ion-label text-wrap>
        <h3>{{ }}</h3>

But, I want to know if it’s possible to insert a divider based on the value of one of the elements. for instance, I have item.type = “P” if it’s a protocol and “S” if it’s a separator.

Is this possible? If so, how can it be done, since you’re already in the ITEM loop at that point.

Thank you.

Here is the tutorial I used: