HasAllMandatoryAnswers

Function: hasAllMandatoryAnswers()

[object Object]

Defined in: util/answer.util.ts:10

Checks whether every mandatory specification question has a non-empty answer.

Parameters

questions

GetSpecificationQuestionResponseDto[]

The specification questions to validate against.

answers

Record<number, string>

Current answers keyed by question id.

Returns

[object Object]

True if all mandatory questions have been answered.

On this page