---
title: "contains(_:)"
framework: realitykit
role: symbol
role_heading: Instance Method
path: "realitykit/ikcomponent/jointcollection/contains(_:)"
---

# contains(_:)

Returns a Boolean value that indicates whether the collection contains an element with a specific identifier.

## Declaration

```swift
func contains(_ id: IKComponent.JointCollection.Element.ID) -> Bool
```

## Parameters

- `id`: The identifier of the element to look up.
