---
title: isPunctuation
framework: swift
role: symbol
role_heading: Instance Property
path: swift/character/ispunctuation
---

# isPunctuation

A Boolean value indicating whether this character represents punctuation.

## Declaration

```swift
var isPunctuation: Bool { get }
```

## Discussion

Discussion For example, the following characters all represent punctuation: “!” (U+0021 EXCLAMATION MARK) “؟” (U+061F ARABIC QUESTION MARK) “…” (U+2026 HORIZONTAL ELLIPSIS) “—” (U+2014 EM DASH) ““” (U+201C LEFT DOUBLE QUOTATION MARK)

## See Also

### Inspecting a Character

- [isLetter](swift/character/isletter.md)
- [isNewline](swift/character/isnewline.md)
- [isWhitespace](swift/character/iswhitespace.md)
- [isSymbol](swift/character/issymbol.md)
- [isMathSymbol](swift/character/ismathsymbol.md)
- [isCurrencySymbol](swift/character/iscurrencysymbol.md)
