---
title: "disallowKeyPath(_:)"
framework: foundation
role: symbol
role_heading: Instance Method
path: "foundation/predicatecodableconfiguration/disallowkeypath(_:)"
---

# disallowKeyPath(_:)

## Declaration

```swift
mutating func disallowKeyPath(_ keyPath: any AnyKeyPath & Sendable)
```

## See Also

### Instance Methods

- [allowKeyPath(_:identifier:)](foundation/predicatecodableconfiguration/allowkeypath(_:identifier:).md)
