Skip to main content

Function: findActiveAnswersByGroup()

function findActiveAnswersByGroup(state, ...params): IAnswer[]

Returns the filtered active question set's answers by question group id and pool id

Parameters

state

The first argument, often a Redux root state object.

params

...[FindActiveAnswersByGroupProps]

All additional arguments passed into the selector.

Returns

IAnswer[]

A derived value from the state.

Param

The BpSdk Redux store

Param

Object containing groupId and optionally an answer poolId