> For AI agents: the complete documentation index is available at /next/llms.txt, the full documentation bundle is available at /next/llms-full.txt.

# Type Alias: Match

> **Match** = (`textToMatch`: `string`, `node`: `HTMLElement` | `null`, `matcher`: [`Matcher`](/next/api/react/testing-library/Type_Aliases/Matcher.md), `options?`: [`MatcherOptions`](/next/api/react/testing-library/Interfaces/MatcherOptions.md)) => `boolean`

## Parameters

| Parameter     | Type                                                                             |
| ------------- | -------------------------------------------------------------------------------- |
| `textToMatch` | `string`                                                                         |
| `node`        | `HTMLElement` \| `null`                                                          |
| `matcher`     | [`Matcher`](/next/api/react/testing-library/Type_Aliases/Matcher.md)             |
| `options?`    | [`MatcherOptions`](/next/api/react/testing-library/Interfaces/MatcherOptions.md) |

## Returns

`boolean`
