---
title: description
framework: swift
role: symbol
role_heading: Instance Property
path: swift/string/description
---

# description

The value of this string.

## Declaration

```swift
var description: String { get }
```

## Discussion

Discussion Using this property directly is discouraged. Instead, use simple assignment to create a new constant or variable equal to this string.

## See Also

### Describing a String

- [debugDescription](swift/string/debugdescription.md)
- [customMirror](swift/string/custommirror.md)
- [hashValue](swift/string/hashvalue.md)
- [hash(into:)](swift/string/hash(into:).md)
