Module

A module, can be used to get information about the module.

Methods

disable()

disable(): void

Disables the module.

Returns

void


enable()

enable(): void

Enables the module.

Returns

void


enabled()

enabled(): boolean

Returns whether the module is enabled or not.

Returns

boolean


getName()

getName(): string

Returns the name of the module.

Returns

string


toggle()

toggle(): void

Toggles the module on/off state.

Returns

void

Last updated