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

# build_subscript(_:_:)

## Declaration

```swift
static func build_subscript<Wrapped, Key, Value>(_ wrapped: Wrapped, _ key: Key) -> PredicateExpressions.DictionaryKeySubscript<Wrapped, Key, Value> where Wrapped : PredicateExpression, Key : PredicateExpression, Wrapped.Output == [Key.Output : Value], Key.Output : Hashable
```
