Function: choice()¶
Create a question that selects between named alternatives.
Type Parameters¶
T¶
T extends ChoiceCriteria
Parameters¶
instructions¶
The question as text, a JSON object or array, or null.
criteria¶
T
Labels mapped to descriptions, or null for undescribed labels.
Returns¶
ChoiceQuestion\<T>