Options
All
  • Public
  • Public/Protected
  • All
Menu

Class InputParameter<T>

Parameter with input value from interaction (reffered to as argument)

Type parameters

Hierarchy

Index

Constructors

constructor

Properties

Optional Readonly choices

choices?: string[]

List of value choices (available only when type is set to "STRING")

readonly

Readonly command

command: Command

Command associated with this parameter

readonly

Readonly description

description: string

Parameter description

readonly

Readonly name

name: string

Parameter name

readonly

Readonly optional

optional: boolean

Whether this parameter is optional

readonly

Readonly type

type: T

Parameter input type

readonly

Readonly value

Value of an argument

readonly

Static descriptionRegExp

descriptionRegExp: RegExp = ...

Parameter description check regular expression

static

Static nameRegExp

nameRegExp: RegExp = ...

Parameter name check regular expression

static

Generated using TypeDoc