35 lines
1.1 KiB
Markdown
35 lines
1.1 KiB
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
|
|
[Home](./index.md) > [@apextoaster/js-utils](./js-utils.md) > [Checklist](./js-utils.checklist.md)
|
|
|
|
## Checklist class
|
|
|
|
Check whether items are included or not (blacklist or whitelist, depending on `mode`<!-- -->).
|
|
|
|
<b>Signature:</b>
|
|
|
|
```typescript
|
|
export declare class Checklist<T> implements ChecklistOptions<T>
|
|
```
|
|
<b>Implements:</b> [ChecklistOptions](./js-utils.checklistoptions.md)<!-- --><T>
|
|
|
|
## Constructors
|
|
|
|
| Constructor | Modifiers | Description |
|
|
| --- | --- | --- |
|
|
| [(constructor)(options)](./js-utils.checklist._constructor_.md) | | Constructs a new instance of the <code>Checklist</code> class |
|
|
|
|
## Properties
|
|
|
|
| Property | Modifiers | Type | Description |
|
|
| --- | --- | --- | --- |
|
|
| [data](./js-utils.checklist.data.md) | | Array<T> | TODO: switch to Set |
|
|
| [mode](./js-utils.checklist.mode.md) | | [ChecklistMode](./js-utils.checklistmode.md) | |
|
|
|
|
## Methods
|
|
|
|
| Method | Modifiers | Description |
|
|
| --- | --- | --- |
|
|
| [check(value)](./js-utils.checklist.check.md) | | |
|
|
|