Use trackBy with Angular's ngFor
Ignore fist parameter of function if unused with a simple _ (underscore)
Use type predicate with filter for type safety