1.2 KiB
1.2 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>
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) | Check whether a value is included or excluded from this checklist (depending on mode ). |