indexSquadsById()
function indexSquadsById(squads): Map<number, ImpectSquad>;Defined in: packages/data-providers/src/impect/select.ts:118
Squads keyed by id, so an event's squadId can be turned into a club name.
Parameters
| Parameter | Type |
|---|---|
squads | readonly ImpectSquad[] |
Returns
Map<number, ImpectSquad>