NumberOption
Represents a number option.
Type parameters
Type parameter | Value |
---|---|
T extends number | null | null |
Constructors
new NumberOption()
Creates a new instance of the number option.
Parameters
Parameter | Type | Description |
---|---|---|
options ? | OptionOptions <T > | The options of the number option. |
Returns
NumberOption
<T
>
Source
twitchfy/packages/chatbot/src/structures/NumberOption.ts:21
Properties
Property | Modifier | Type | Default value | Description |
---|---|---|---|---|
defaultValue | readonly | null | T | undefined | The default value of the option. |
type | readonly | "number" | 'number' | The type of the option. It’s always number. |