---
title: isEmpty
framework: xpc
role: symbol
role_heading: Instance Property
path: xpc/xpcdictionary/isempty
---

# isEmpty

A Boolean value that indicates whether the dictionary is empty.

## Declaration

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

## See Also

### Inspecting a dictionary

- [count](xpc/xpcdictionary/count.md)
