UNPKG

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.

101 lines (47 loc) 1.38 kB
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [rc-js-util](./rc-js-util.md) &gt; [IDirtyCheckedUniqueCollection](./rc-js-util.idirtycheckeduniquecollection.md) ## IDirtyCheckedUniqueCollection interface Provides a unique array with O(1) add &amp; remove, with dirty checking on `getArray`<!-- -->. **Signature:** ```typescript export interface IDirtyCheckedUniqueCollection<TItem> extends ISetLike<TItem> ``` **Extends:** [ISetLike](./rc-js-util.isetlike.md)<!-- -->&lt;TItem&gt; ## Properties <table><thead><tr><th> Property </th><th> Modifiers </th><th> Type </th><th> Description </th></tr></thead> <tbody><tr><td> [isDirty](./rc-js-util.idirtycheckeduniquecollection.isdirty.md) </td><td> `readonly` </td><td> boolean </td><td> </td></tr> </tbody></table> ## Methods <table><thead><tr><th> Method </th><th> Description </th></tr></thead> <tbody><tr><td> [getArray()](./rc-js-util.idirtycheckeduniquecollection.getarray.md) </td><td> </td></tr> <tr><td> [getSet()](./rc-js-util.idirtycheckeduniquecollection.getset.md) </td><td> </td></tr> <tr><td> [reportingAdd(item)](./rc-js-util.idirtycheckeduniquecollection.reportingadd.md) </td><td> </td></tr> </tbody></table>