2 lines
105 B
TypeScript
2 lines
105 B
TypeScript
export const safeQuestion = (answer: ExamAttemptAnswer) => answer.exam_question ?? ({} as ExamQuestion);
|