new Option(value [, comment] [, category])
Default option constructor.
Parameters:
Name | Type | Argument | Default | Description |
---|---|---|---|---|
value |
* | 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:
Members
-
<nullable> category :string
-
Get the category of this option.
Type:
- string
- Source:
-
<nullable> comment :string
-
Get the description of this option.
Type:
- string
- Source:
-
entries
-
- Source:
-
keys
-
- Source:
-
value :*
-
Get the value of this option.
Type:
- *
- Source: