---
title: "append(contentsOf:)"
framework: paperkit
role: symbol
role_heading: Instance Method
path: "paperkit/markuporderedset/append(contentsof:)"
---

# append(contentsOf:)

Appends the contents of a sequence to the end of the set, excluding elements that are already members.

## Declaration

```swift
mutating func append(contentsOf elements: some Sequence<any Markup>)
```

## Parameters

- `elements`: A finite sequence of elements to append.

## See Also

### Adding elements

- [append(_:)](paperkit/markuporderedset/append(_:).md)
- [insert(_:at:)](paperkit/markuporderedset/insert(_:at:).md)
- [updateOrAppend(_:)](paperkit/markuporderedset/updateorappend(_:).md)
