2020-03-29 14:52:40 +00:00
|
|
|
<!-- 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
|
|
|
|
|
2020-03-31 13:49:18 +00:00
|
|
|
Check whether items are included or not (blacklist or whitelist, depending on `mode`<!-- -->).
|
|
|
|
|
2020-03-29 14:52:40 +00:00
|
|
|
<b>Signature:</b>
|
|
|
|
|
|
|
|
```typescript
|
|
|
|
export declare class Checklist<T> implements ChecklistOptions<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 |
|
|
|
|
| --- | --- | --- | --- |
|
2020-03-31 13:49:18 +00:00
|
|
|
| [data](./js-utils.checklist.data.md) | | <code>Array<T></code> | TODO: switch to Set |
|
2020-03-29 14:52:40 +00:00
|
|
|
| [mode](./js-utils.checklist.mode.md) | | <code>ChecklistMode</code> | |
|
|
|
|
|
|
|
|
## Methods
|
|
|
|
|
|
|
|
| Method | Modifiers | Description |
|
|
|
|
| --- | --- | --- |
|
|
|
|
| [check(value)](./js-utils.checklist.check.md) | | |
|
|
|
|
|