---
title: "ids(of:)"
framework: tabletopkit
role: symbol
role_heading: Instance Method
path: "tabletopkit/equipmentcollection/ids(of:)"
---

# ids(of:)

Returns the identifiers of all equipment that conform to the given type.

## Declaration

```swift
func ids(of type: (some Equipment).Type) -> [EquipmentIdentifier]
```

## Parameters

- `type`: All returned equipment identifiers correspond to equipment of this given type.

## See Also

### Retrieving equipment identifiers

- [ids(childrenOf:)](tabletopkit/equipmentcollection/ids(childrenof:).md)
- [ids(descendantsOf:)](tabletopkit/equipmentcollection/ids(descendantsof:).md)
