Skip to main content

Function: getQuestionPoolInActiveQuestionSetByAnswer()

function getQuestionPoolInActiveQuestionSetByAnswer(state, ...params): undefined | IQuestionPool

Returns a Question Pool that is associated with the answer in the current active question set

Parameters

state

The first argument, often a Redux root state object.

params

...[IAnswer]

All additional arguments passed into the selector.

Returns

undefined | IQuestionPool

A derived value from the state.

Param

The entire Redux store

Param

IAnswer to find pool