---
title: "visitExpressionKeyPath(_:scope:key:)"
framework: foundation
role: symbol
role_heading: Instance Method
path: "foundation/nspredicatevalidating/visitexpressionkeypath(_:scope:key:)"
---

# visitExpressionKeyPath(_:scope:key:)

## Declaration

```swift
optional func visitExpressionKeyPath(_ expression: NSExpression, scope: String?, key: String?) throws
```
