Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

CorrectAnswers

import type { CorrectAnswers } from "https://googleapis.deno.dev/v1/forms:v1.ts";

The answer key for a question.

interface CorrectAnswers {
answers?: CorrectAnswer[];
}

§Properties

§
answers?: CorrectAnswer[]
[src]

A list of correct answers. A quiz response can be automatically graded based on these answers. For single-valued questions, a response is marked correct if it matches any value in this list (in other words, multiple correct answers are possible). For multiple-valued (CHECKBOX) questions, a response is marked correct if it contains exactly the values in this list.