---
title: "build_subscript(_:_:)"
framework: foundation
role: symbol
role_heading: Type Method
path: "foundation/predicateexpressions/build_subscript(_:_:)-8f5bl"
---

# build_subscript(_:_:)

## Declaration

```swift
static func build_subscript<Wrapped, Range>(_ wrapped: Wrapped, _ range: Range) -> PredicateExpressions.CollectionRangeSubscript<Wrapped, Range> where Wrapped : PredicateExpression, Range : PredicateExpression, Wrapped.Output : Collection, Range.Output == Range<Wrapped.Output.Index>
```
