---
title: isASCII
framework: swift
role: symbol
role_heading: Instance Property
path: swift/staticstring/isascii
---

# isASCII

A Boolean value that indicates whether the static string represents only ASCII code units (or an ASCII scalar value).

## Declaration

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