---
title: "append(repeating:count:)"
framework: swift
role: symbol
role_heading: Instance Method
path: "swift/outputspan/append(repeating:count:)"
---

# append(repeating:count:)

Repeatedly append an element to this span.

## Declaration

```swift
mutating func append(repeating repeatedValue: Element, count: Int)
```
