<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@contract-case/case-definition-dsl](./case-definition-dsl.md) &gt; [matchers](./case-definition-dsl.matchers.md) &gt; [convenience](./case-definition-dsl.matchers.convenience.md) &gt; [ReferenceMatch](./case-definition-dsl.matchers.convenience.referencematch.md) &gt; [(constructor)](./case-definition-dsl.matchers.convenience.referencematch._constructor_.md)

## matchers.convenience.ReferenceMatch.(constructor)

Matches a named matcher created with [matchers.convenience.NamedMatch](./case-definition-dsl.matchers.convenience.namedmatch.md)<!-- -->.

**Signature:**

```typescript
constructor(name: string);
```

## Parameters

<table><thead><tr><th>

Parameter

</th><th>

Type

</th><th>

Description

</th></tr></thead>
<tbody><tr><td>

name

</td><td>

string

</td><td>

The name you gave to a previous call of `NamedMatch`

</td></tr>
</tbody></table>
