---
title: isLeaf
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nsbrowsercell/isleaf
---

# isLeaf

A Boolean that indicates whether the browser cell is a leaf or a branch cell.

## Declaration

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

## Discussion

Discussion When the value of this property is true, the browser cell is a leaf cell. A branch NSBrowserCell has an image near its right edge indicating that more, hierarchically related information is available; when the user selects the cell, the NSBrowser displays a new column of NSBrowserCell objects. A leaf NSBrowserCell has no image, indicating that the user has reached a terminal piece of information; it doesn’t point to additional information.

## See Also

### Managing Browser Cell State

- [reset()](appkit/nsbrowsercell/reset().md)
- [set()](appkit/nsbrowsercell/set().md)
- [isLoaded](appkit/nsbrowsercell/isloaded.md)
- [highlightColor(in:)](appkit/nsbrowsercell/highlightcolor(in:).md)
