---
title: isPatternWhitespace
framework: swift
role: symbol
role_heading: Instance Property
path: swift/unicode/scalar/properties-swift.struct/ispatternwhitespace
---

# isPatternWhitespace

A Boolean value indicating whether the scalar is recommended to be treated as whitespace when parsing patterns represented in source code.

## Declaration

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

## Discussion

Discussion This property corresponds to the “Pattern_White_Space” property in the Unicode Standard.
