---
title: KnownIssueMatcher
framework: testing
role: symbol
role_heading: Type Alias
path: testing/knownissuematcher
---

# KnownIssueMatcher

A function that is used to match known issues.

## Declaration

```swift
typealias KnownIssueMatcher = @Sendable (Issue) -> Bool
```

## Parameters

- `issue`: The issue to match.

## Return Value

Return Value Whether or not issue is known to occur.

## See Also

### Recording known issues in tests

- [withKnownIssue(_:isIntermittent:sourceLocation:_:)](testing/withknownissue(_:isintermittent:sourcelocation:_:).md)
- [withKnownIssue(_:isIntermittent:isolation:sourceLocation:_:)](testing/withknownissue(_:isintermittent:isolation:sourcelocation:_:).md)
- [withKnownIssue(_:isIntermittent:sourceLocation:_:when:matching:)](testing/withknownissue(_:isintermittent:sourcelocation:_:when:matching:).md)
- [withKnownIssue(_:isIntermittent:isolation:sourceLocation:_:when:matching:)](testing/withknownissue(_:isintermittent:isolation:sourcelocation:_:when:matching:).md)
