<!--
{
  "availability" : [
    "iOS: 13.0.0 -",
    "iPadOS: 13.0.0 -",
    "macCatalyst: 13.0.0 -",
    "tvOS: 13.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "XCTest",
  "identifier" : "/documentation/XCTest/XCTKeyPathExpectation/SynchronousFilter",
  "metadataVersion" : "0.1.0",
  "role" : "Type Alias",
  "symbol" : {
    "kind" : "Type Alias",
    "modules" : [
      "XCTest"
    ],
    "preciseIdentifier" : "s:6XCTest21XCTKeyPathExpectationC17SynchronousFiltera"
  },
  "title" : "XCTKeyPathExpectation.SynchronousFilter"
}
-->

# XCTKeyPathExpectation.SynchronousFilter

```
typealias SynchronousFilter = @Sendable (T, NSKeyValueObservedChange<V>) -> Bool
```

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)