1.0 KiB
1.0 KiB
Home > @apextoaster/js-utils > Checklist
Checklist class
Check whether items are included or not (blacklist or whitelist, depending on mode
).
Signature:
export declare class Checklist<T> implements ChecklistOptions<T>
Constructors
Constructor | Modifiers | Description |
---|---|---|
(constructor)(options) | Constructs a new instance of the Checklist class |
Properties
Property | Modifiers | Type | Description |
---|---|---|---|
data | Array<T> |
TODO: switch to Set | |
mode | ChecklistMode |
Methods
Method | Modifiers | Description |
---|---|---|
check(value) |