<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [rc-js-util](./rc-js-util.md) &gt; [DirtyCheckedUniqueCollection](./rc-js-util.dirtycheckeduniquecollection.md) &gt; [(constructor)](./rc-js-util.dirtycheckeduniquecollection._constructor_.md)

## DirtyCheckedUniqueCollection.(constructor)

Constructs a new instance of the `DirtyCheckedUniqueCollection` class

**Signature:**

```typescript
constructor(itemsToCopy?: readonly TItem[] | ReadonlySet<TItem>);
```

## Parameters

<table><thead><tr><th>

Parameter


</th><th>

Type


</th><th>

Description


</th></tr></thead>
<tbody><tr><td>

itemsToCopy


</td><td>

readonly TItem\[\] \| ReadonlySet&lt;TItem&gt;


</td><td>

_(Optional)_


</td></tr>
</tbody></table>
