Docs

Interface: ChoiceQuestion<T>

Interface: ChoiceQuestion<T>

A question that selects between named alternatives.

Type Parameters

T

T extends ChoiceCriteria = ChoiceCriteria

Properties

criteria

criteria: T;

Descriptions of the available outcomes.


instructions?

optional instructions?: EntryType;

The question as text, a JSON object, or an array; optional or null.


type

type: "choice";