---
title: "disallowKeyPathsForPropertiesProvided(by:recursive:)"
framework: foundation
role: symbol
role_heading: Instance Method
path: "foundation/predicatecodableconfiguration/disallowkeypathsforpropertiesprovided(by:recursive:)"
---

# disallowKeyPathsForPropertiesProvided(by:recursive:)

## Declaration

```swift
mutating func disallowKeyPathsForPropertiesProvided<T>(by type: T.Type, recursive: Bool = false) where T : PredicateCodableKeyPathProviding
```

## See Also

### Disallowing types and key paths

- [disallowPartialType(_:)](foundation/predicatecodableconfiguration/disallowpartialtype(_:).md)
- [disallowType(_:)](foundation/predicatecodableconfiguration/disallowtype(_:).md)
