Recapp Code Reference
Preparing search index...
frontend/src/utils
isMultiChoiceAnsweredCorrectly
Function isMultiChoiceAnsweredCorrectly
isMultiChoiceAnsweredCorrectly
(
answers2
:
boolean
[]
,
question
:
|
{
answerOrderFixed
:
boolean
;
answers
:
{
correct
:
boolean
;
text
:
string
}
[]
;
approved
:
boolean
;
archived
?:
Timestamp
;
authorFingerprint
?:
string
;
authorId
:
string
&
BRAND
<
"UID"
>
;
authorName
?:
string
;
created
:
Timestamp
;
editMode
:
boolean
;
hint
?:
string
;
quiz
:
string
&
BRAND
<
"UID"
>
;
statistics
?:
|
{
answers
:
string
[]
;
archived
?:
Timestamp
;
created
:
Timestamp
;
groupName
:
string
;
maximumParticipants
:
number
;
participants
:
number
;
questionId
:
string
&
BRAND
<
"UID"
>
;
quizId
:
string
&
BRAND
<
"UID"
>
;
tag
:
"TextElementStatistics"
;
uid
:
string
&
BRAND
<
"UID"
>
;
updated
:
Timestamp
;
wrong
:
number
;
}
|
{
answers
:
number
[]
;
archived
?:
Timestamp
;
created
:
Timestamp
;
groupName
:
string
;
maximumParticipants
:
number
;
participants
:
number
;
passed
:
number
;
questionId
:
string
&
BRAND
<
"UID"
>
;
quizId
:
string
&
BRAND
<
"UID"
>
;
tag
:
"ChoiceElementStatistics"
;
uid
:
string
&
BRAND
<
"UID"
>
;
updated
:
Timestamp
;
wrong
:
number
;
}
;
text
:
string
;
type
:
"SINGLE"
|
"MULTIPLE"
|
"TEXT"
;
uid
:
string
&
BRAND
<
"UID"
>
;
updated
:
Timestamp
;
}
|
undefined
,
)
:
boolean
Parameters
answers2
:
boolean
[]
question
:
|
{
answerOrderFixed
:
boolean
;
answers
:
{
correct
:
boolean
;
text
:
string
}
[]
;
approved
:
boolean
;
archived
?:
Timestamp
;
authorFingerprint
?:
string
;
authorId
:
string
&
BRAND
<
"UID"
>
;
authorName
?:
string
;
created
:
Timestamp
;
editMode
:
boolean
;
hint
?:
string
;
quiz
:
string
&
BRAND
<
"UID"
>
;
statistics
?:
|
{
answers
:
string
[]
;
archived
?:
Timestamp
;
created
:
Timestamp
;
groupName
:
string
;
maximumParticipants
:
number
;
participants
:
number
;
questionId
:
string
&
BRAND
<
"UID"
>
;
quizId
:
string
&
BRAND
<
"UID"
>
;
tag
:
"TextElementStatistics"
;
uid
:
string
&
BRAND
<
"UID"
>
;
updated
:
Timestamp
;
wrong
:
number
;
}
|
{
answers
:
number
[]
;
archived
?:
Timestamp
;
created
:
Timestamp
;
groupName
:
string
;
maximumParticipants
:
number
;
participants
:
number
;
passed
:
number
;
questionId
:
string
&
BRAND
<
"UID"
>
;
quizId
:
string
&
BRAND
<
"UID"
>
;
tag
:
"ChoiceElementStatistics"
;
uid
:
string
&
BRAND
<
"UID"
>
;
updated
:
Timestamp
;
wrong
:
number
;
}
;
text
:
string
;
type
:
"SINGLE"
|
"MULTIPLE"
|
"TEXT"
;
uid
:
string
&
BRAND
<
"UID"
>
;
updated
:
Timestamp
;
}
|
undefined
Returns
boolean
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
Recapp Code Reference
Loading...