---
title: "isExpandable(_:)"
framework: appkit
role: symbol
role_heading: Instance Method
path: "appkit/nsoutlineview/isexpandable(_:)"
---

# isExpandable(_:)

Returns a Boolean value that indicates whether a given item is expandable.

## Declaration

```swift
func isExpandable(_ item: Any?) -> Bool
```

## Parameters

- `item`: An item in the receiver.

## Return Value

Return Value true if item is expandable—that is, item can contain other items, otherwise false.

## See Also

### Related Documentation

- [expandItem(_:)](appkit/nsoutlineview/expanditem(_:).md)

### Working with Expandability

- [isItemExpanded(_:)](appkit/nsoutlineview/isitemexpanded(_:).md)
