---
title: "appendLiteral(_:)"
framework: foundation
role: symbol
role_heading: Instance Method
path: "foundation/date/formatstring/stringinterpolation/appendliteral(_:)"
---

# appendLiteral(_:)

## Declaration

```swift
mutating func appendLiteral(_ literal: String)
```
