---
title: "decodePredicateExpressionIfPresent(forKey:input:predicateConfiguration:)"
framework: swift
role: symbol
role_heading: Instance Method
path: "swift/keyeddecodingcontainer/decodepredicateexpressionifpresent(forkey:input:predicateconfiguration:)"
---

# decodePredicateExpressionIfPresent(forKey:input:predicateConfiguration:)

## Declaration

```swift
mutating func decodePredicateExpressionIfPresent<each Input>(forKey key: KeyedDecodingContainer<K>.Key, input: repeat (each Input).Type, predicateConfiguration: PredicateCodableConfiguration) throws -> (expression: any PredicateExpression<Bool>, variable: (repeat PredicateExpressions.Variable<each Input>))?
```
