---
title: PredicateExpressions.CollectionIndexSubscript
framework: foundation
role: symbol
role_heading: Structure
path: foundation/predicateexpressions/collectionindexsubscript
---

# PredicateExpressions.CollectionIndexSubscript

## Declaration

```swift
struct CollectionIndexSubscript<Wrapped, Index> where Wrapped : PredicateExpression, Index : PredicateExpression, Wrapped.Output : Collection, Index.Output == Wrapped.Output.Index
```

## Topics

### Initializers

- [init(wrapped:index:)](foundation/predicateexpressions/collectionindexsubscript/init(wrapped:index:).md)

### Instance Properties

- [index](foundation/predicateexpressions/collectionindexsubscript/index.md)
- [wrapped](foundation/predicateexpressions/collectionindexsubscript/wrapped.md)

## Relationships

### Conforms To

- [Copyable](swift/copyable.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Decodable](swift/decodable.md)
- [Encodable](swift/encodable.md)
- [Escapable](swift/escapable.md)
- [PredicateExpression](foundation/predicateexpression.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)
- [StandardPredicateExpression](foundation/standardpredicateexpression.md)
