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

# isEmpty

A Boolean value that indicates whether the array is empty.

## Declaration

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

## See Also

### Inspecting an array

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