Hiyve Components - v1.0.0
    Preparing search index...

    Function answerDrill

    • The drill with the round being asked answered; a round already answered, or a finished drill, is left as it is. The choice is checked against the question — unless correct says how an answer judged elsewhere went: one played on an instrument, whose choice is what was played.

      Type Parameters

      Parameters

      • state: DrillState<Q>
      • choice: string
      • elapsedMs: number | null = null
      • Optionalcorrect: boolean

      Returns DrillState<Q>