<!--
{
  "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/CollectionRangeSubscript",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "Foundation"
    ],
    "preciseIdentifier" : "s:10Foundation20PredicateExpressionsO24CollectionRangeSubscriptV"
  },
  "title" : "PredicateExpressions.CollectionRangeSubscript"
}
-->

# PredicateExpressions.CollectionRangeSubscript

```
struct CollectionRangeSubscript<Wrapped, Range> where Wrapped : PredicateExpression, Range : PredicateExpression, Wrapped.Output : Collection, Range.Output == Range<Wrapped.Output.Index>
```

## Topics

### Initializers

[`init(wrapped: Wrapped, range: Range)`](/documentation/Foundation/PredicateExpressions/CollectionRangeSubscript/init(wrapped:range:))

### Instance Properties

[`let range: Range`](/documentation/Foundation/PredicateExpressions/CollectionRangeSubscript/range)

[`let wrapped: Wrapped`](/documentation/Foundation/PredicateExpressions/CollectionRangeSubscript/wrapped)

## Relationships

### Conforms To

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

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

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

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

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

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

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

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

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

---

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)