id condition with ngfor in angular 10

JavaScript
      
      static ngTemplateContextGuard<T, U extends NgIterable<T>>(dir: NgForOf<T, U>, ctx: any): ctx is NgForOfContext<T, U>
    
Source

Also in JavaScript: