Helps to manage options. The main addition to simply using a Set are the toggle functions and the support for temporarily disabling an option.
Creates a new option set.
Private
Clears the option set.
Deletes the option with the given name.
the option's name
Disables the option with the given name. The option and its value are kept and can be re-enabled.
Re-enables the option with the given name.
Returns the value of the given name.
Returns the names of all options.
Returns the names of all disabled options.
Returns the names of all enabled options.
Sets the option with the associated value.
the option's value
Toggles the option with the given name, i.e. enables it if it is disabled and disables it if it is enabled.
Sets the option with the given name if it is not set and deletes it if it is enabled.
Generated using TypeDoc
Helps to manage options. The main addition to simply using a Set are the toggle functions and the support for temporarily disabling an option.