new BooleanOption(value [, comment] [, category])
Stores a boolean.
Parameters:
Name | Type | Argument | Default | Description |
---|---|---|---|---|
value |
boolean | Value of this option. | ||
comment |
string |
<optional> <nullable> |
null | Comment/description for the user about this option. |
category |
string |
<optional> <nullable> |
null | Category this option falls under for showing user. |
- Source:
Extends
Members
-
<nullable> category :string
-
Get the category of this option.
Type:
- string
- Inherited From:
- Overrides:
- Source:
-
<nullable> comment :string
-
Get the description of this option.
Type:
- string
- Inherited From:
- Overrides:
- Source:
-
entries
-
- Inherited From:
- Overrides:
- Source:
-
keys
-
- Inherited From:
- Overrides:
- Source:
-
value :*
-
Get the value of this option.
Type:
- *
- Inherited From:
- Overrides:
- Source: