1
0
Fork 0
js-utils/docs/api/js-utils.checklist.md

1.2 KiB

Home > @apextoaster/js-utils > Checklist

Checklist class

Check whether items are included or not.

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 readonly Array<T> TODO: switch to Set
mode readonly ChecklistMode

Methods

Method Modifiers Description
check(value) Check whether a value is included or excluded from this checklist (depending on mode).