<!--
{
  "availability" : [
    "iOS: 8.0.0 -",
    "iPadOS: 8.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.15.0 -",
    "tvOS: 10.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "PhotoKit",
  "identifier" : "/documentation/Photos/PHCollection/canContainCollections",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Photos"
    ],
    "preciseIdentifier" : "c:objc(cs)PHCollection(py)canContainCollections"
  },
  "title" : "canContainCollections"
}
-->

# canContainCollections

A Boolean value indicating whether the collection can contain other collections.

```
var canContainCollections: Bool { get }
```

## Discussion

If this value is `true`, the collection is a [`PHCollectionList`](/documentation/Photos/PHCollectionList) object; otherwise, `false`. For details on collection lists, see [`PHCollectionList`](/documentation/Photos/PHCollectionList).

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)