rc-js-util
Version:
A collection of TS and C++ utilities to help writing performant and correct applications, achieved through strict typing and (removable) invariant checking.
50 lines (24 loc) • 826 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [rc-js-util](./rc-js-util.md) > [DirtyCheckedUniqueCollection](./rc-js-util.dirtycheckeduniquecollection.md) > [(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<TItem>
</td><td>
_(Optional)_
</td></tr>
</tbody></table>