Skip to main content

Function: getQuestionSetByCode()

function getQuestionSetByCode(state, ...params): undefined | IApplicationFormQuestionSet

Returns a specific question set from the store

Parameters​

state​

The first argument, often a Redux root state object.

params​

...[string]

All additional arguments passed into the selector.

Returns​

undefined | IApplicationFormQuestionSet

A derived value from the state.

Param​

The entire Redux store

Param​

ID of requested question set