---
title: isEmpty
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uitextrange/isempty
---

# isEmpty

A Boolean value that indicates whether the range of text represented by the receiver is zero-length.

## Declaration

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

## See Also

### Defining Ranges of Text

- [start](uikit/uitextrange/start.md)
- [end](uikit/uitextrange/end.md)
