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

# isItemExpanded(_:)

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

## Declaration

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

## Parameters

- `item`: An item in the receiver.

## Return Value

Return Value true if item is expanded, otherwise false.

## See Also

### Related Documentation

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

### Working with Expandability

- [isExpandable(_:)](appkit/nsoutlineview/isexpandable(_:).md)
