Prompt.this

Constructs a new prompt with the given query

struct Prompt
this
(
string query
,
bool isMultiValue = false
,
bool allowEmpty = false
)

Parameters

query string

the prompt query itself

isMultiValue bool

if the query allows for multiple inputs (default is false)

allowEmpty bool

if the answer may be empty (default is true)

Meta