<!-- 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; [modifiers](./case-definition-dsl.matchers.modifiers.md) &gt; [ExactlyLike](./case-definition-dsl.matchers.modifiers.exactlylike.md)

## matchers.modifiers.ExactlyLike class

Everything inside this matcher will be matched exactly, unless overridden with a generic matcher (eg `AnyString` or` ShapedLike`<!-- -->). Use this to switch out of `shapedLike` and back to the default exact matching.

**Signature:**

```typescript
export declare class ExactlyLike extends CascadingContextMatcher
```

**Extends:** CascadingContextMatcher

## Constructors

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

Constructor

</th><th>

Modifiers

</th><th>

Description

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

[(constructor)(content)](./case-definition-dsl.matchers.modifiers.exactlylike._constructor_.md)

</td><td>

</td><td>

Everything inside this matcher will be matched exactly, unless overridden with a generic matcher (eg `AnyString` or` ShapedLike`<!-- -->). Use this to switch out of `shapedLike` and back to the default exact matching.

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

## Methods

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

Method

</th><th>

Modifiers

</th><th>

Description

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

[toJSON()](./case-definition-dsl.matchers.modifiers.exactlylike.tojson.md)

</td><td>

</td><td>

For non-TypeScript implementations (see `AnyMatcher.toJSON`<!-- -->)

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