---
title: isEmpty
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nstextrange/isempty
---

# isEmpty

Returns whether the text range is empty.

## Declaration

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

## See Also

### Characteristics of the text range

- [location](appkit/nstextrange/location.md)
- [endLocation](appkit/nstextrange/endlocation.md)
