Call Signature
Type Parameters
T
T extends ScoreCriteria
Parameters
instructions
EntryType
criteria
T
Returns
ScoreQuestion<T>
Call Signature
Type Parameters
T
T extends readonly EntryType[]
Parameters
instructions
EntryType
criteria
T & number extends T["length"] ? unknown : never
Returns
ScoreQuestion<readonly [T[number], T[number], T[number]]>
Param
instructions The question as text, a JSON object or array, ornull.
Param
criteria At least two descriptions indexed by score from zero; entries may benull.
A list built at runtime, such as a string[], is accepted, and systemOne rejects it when
it has fewer than two entries.
