Constructors
Methods
clear
- clear(): void
Returns void
delete
- delete(name): void
Returns void
disable
- disable(name): void
Returns void
enable
- enable(name): void
Returns void
get
- get(name): undefined | string
Returns undefined | string
getAll
- getAll(): IterableIterator<string>
Returns IterableIterator<string>
getDisabled
- getDisabled(): IterableIterator<string>
Returns IterableIterator<string>
getEnabled
- getEnabled(): IterableIterator<string>
Returns IterableIterator<string>
set
- set(name, value): void
Parameters
- name: string
- value: string
Returns void
toggleEnabled
- toggleEnabled(name): void
Returns void
toggleIsSet
- toggleIsSet(name, value): void
Parameters
- name: string
- value: string
Returns void
Helps to manage options. The main addition to simply using a Set are the toggle functions and the support for temporarily disabling an option.