Members
answers :Array.<Answer>
- Source:
The possible answers for this challenge
Type:
- Array.<Answer>
courseID :number
- Source:
The ID of the course currently being used
Type:
- number
date :string
- Source:
The date the question was created
Type:
- string
id :number
- Source:
The ID of the challenge
Type:
- number
level :number
- Source:
Unknown value - question author's level?
Type:
- number
(nullable) levelDetails :*
- Source:
Unknown value
Type:
- *
name :string
- Source:
Unknown value
Type:
- string
published :boolean
- Source:
Whether the challenge is published or not
Type:
- boolean
question :string
- Source:
The challenge's question
Type:
- string
status :ChallengeStatus
- Source:
The challenge's approval status
Type:
Methods
(async) answer(isCorrect)
- Source:
Submit an answer to this challenge
Parameters:
| Name | Type | Description |
|---|---|---|
isCorrect |
boolean | Whether the answer was correct or not |
Returns:
Promise