<!-- 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; [arrays](./case-definition-dsl.matchers.arrays.md) &gt; [ArrayStartsWith](./case-definition-dsl.matchers.arrays.arraystartswith.md) &gt; [(constructor)](./case-definition-dsl.matchers.arrays.arraystartswith._constructor_.md)

## matchers.arrays.ArrayStartsWith.(constructor)

Matches an Array which starts with the provided array of matchers - any additional elements in the array are ignored.

**Signature:**

```typescript
constructor(matchers: Array<AnyMatcherOrData>);
```

## Parameters

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

Parameter

</th><th>

Type

</th><th>

Description

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

matchers

</td><td>

Array&lt;AnyMatcherOrData&gt;

</td><td>

An array of matchers that describes the start of the array. Additional elements in the actual array are ignored.

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