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

# ids(descendantsOf:)

Returns the identifiers of all equipment that are descendants of the given equipment identifier.

## Declaration

```swift
func ids(descendantsOf parentID: EquipmentIdentifier) -> [EquipmentIdentifier]
```

## Parameters

- `parentID`: The equipment identifier whose descendants should be returned.

## See Also

### Retrieving equipment identifiers

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