(state: QuestionBodyState, count: number)
| 103 | } |
| 104 | |
| 105 | export function questionAnswers(state: QuestionBodyState, count: number): string[][] { |
| 106 | return Array.from({ length: count }, (_, idx) => state.answers[idx] ?? []) |
| 107 | } |
| 108 | |
| 109 | export function questionSetTab(state: QuestionBodyState, tab: number): QuestionBodyState { |
| 110 | return { |