---
title: "isSubviewCollapsed(_:)"
framework: appkit
role: symbol
role_heading: Instance Method
path: "appkit/nssplitview/issubviewcollapsed(_:)"
---

# isSubviewCollapsed(_:)

Returns whether the specified view is in a collapsed state.

## Declaration

```swift
func isSubviewCollapsed(_ subview: NSView) -> Bool
```

## Parameters

- `subview`: The subview in the split view.

## Return Value

Return Value true if subview is in a collapsed state; otherwise, false.

## See Also

### Managing Subviews

- [adjustSubviews()](appkit/nssplitview/adjustsubviews().md)
- [holdingPriorityForSubview(at:)](appkit/nssplitview/holdingpriorityforsubview(at:).md)
- [setHoldingPriority(_:forSubviewAt:)](appkit/nssplitview/setholdingpriority(_:forsubviewat:).md)
