---
title: "append(_:)"
framework: appintents
role: symbol
role_heading: Instance Method
path: "appintents/entitycollection/append(_:)-yr1u"
---

# append(_:)

Adds the identifier for the specified entity to the collection.

## Declaration

```swift
mutating func append(_ entity: Entity)
```

## Discussion

Discussion Parameter: entity: The entity containing the identifier to add. This method adds the entity’s identifier to the collection, but doesn’t keep a reference to the entity itself.
