<!--
{
  "availability" : [
    "iOS: 17.0.0 -",
    "iPadOS: 17.0.0 -",
    "macCatalyst: 17.0.0 -",
    "macOS: 14.0.0 -",
    "tvOS: 17.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 10.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Foundation",
  "identifier" : "/documentation/Foundation/PredicateExpressions/CollectionContainsCollection",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "Foundation"
    ],
    "preciseIdentifier" : "s:10Foundation20PredicateExpressionsO018CollectionContainsD0V"
  },
  "title" : "PredicateExpressions.CollectionContainsCollection"
}
-->

# PredicateExpressions.CollectionContainsCollection

```
struct CollectionContainsCollection<Base, Other> where Base : PredicateExpression, Other : PredicateExpression, Base.Output : Collection, Other.Output : Collection, Base.Output.Element : Equatable, Base.Output.Element == Other.Output.Element
```

## Topics

### Initializers

[`init(base: Base, other: Other)`](/documentation/Foundation/PredicateExpressions/CollectionContainsCollection/init(base:other:))

### Instance Properties

[`let base: Base`](/documentation/Foundation/PredicateExpressions/CollectionContainsCollection/base)

[`let other: Other`](/documentation/Foundation/PredicateExpressions/CollectionContainsCollection/other)

## Relationships

### Conforms To

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`Sendable`](/documentation/Swift/Sendable)

[`CustomStringConvertible`](/documentation/Swift/CustomStringConvertible)

[`StandardPredicateExpression`](/documentation/Foundation/StandardPredicateExpression)

[`Encodable`](/documentation/Swift/Encodable)

[`PredicateExpression`](/documentation/Foundation/PredicateExpression)

[`Decodable`](/documentation/Swift/Decodable)

[`Copyable`](/documentation/Swift/Copyable)

[`Escapable`](/documentation/Swift/Escapable)

---

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)