---
title: isOpen
framework: pdfkit
role: symbol
role_heading: Instance Property
path: pdfkit/pdfoutline/isopen
---

# isOpen

Returns a Boolean value that indicates whether the outline object is initially disclosed.

## Declaration

```swift
var isOpen: Bool { get set }
```

## Discussion

Discussion Calling isOpen on an outline object that has no children always returns false. Calling isOpen on the root outline object always returns true.
