---
title: PredicateExpressions.KeyPath
framework: foundation
role: symbol
role_heading: Structure
path: foundation/predicateexpressions/keypath
---

# PredicateExpressions.KeyPath

## Declaration

```swift
struct KeyPath<Root, Output> where Root : PredicateExpression
```

## Topics

### Initializers

- [init(root:keyPath:)](foundation/predicateexpressions/keypath/init(root:keypath:).md)

### Instance Properties

- [keyPath](foundation/predicateexpressions/keypath/keypath.md)
- [kind](foundation/predicateexpressions/keypath/kind.md)
- [root](foundation/predicateexpressions/keypath/root.md)

### Enumerations

- [PredicateExpressions.KeyPath.CommonKeyPathKind](foundation/predicateexpressions/keypath/commonkeypathkind.md)

## Relationships

### Conforms To

- [Copyable](swift/copyable.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Decodable](swift/decodable.md)
- [Encodable](swift/encodable.md)
- [Escapable](swift/escapable.md)
- [PredicateExpression](foundation/predicateexpression.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)
- [StandardPredicateExpression](foundation/standardpredicateexpression.md)
