---
title: "equipment(of:matching:)"
framework: tabletopkit
role: symbol
role_heading: Instance Method
path: "tabletopkit/tabletopgame/equipment(of:matching:)"
---

# equipment(of:matching:)

## Declaration

```swift
func equipment<E>(of type: E.Type, matching id: EquipmentIdentifier) -> E? where E : Equipment
```

## See Also

### Adding equipment to the game

- [equipment](tabletopkit/tabletopgame/equipment.md)
- [equipmentIDs](tabletopkit/tabletopgame/equipmentids.md)
- [equipment(matching:)](tabletopkit/tabletopgame/equipment(matching:).md)
- [equipment(of:)](tabletopkit/tabletopgame/equipment(of:).md)
- [equipment(of:forEntity:)](tabletopkit/tabletopgame/equipment(of:forentity:).md)
