Skip to main content

Function: findActiveAnswerById()

function findActiveAnswerById(state, ...params): undefined | IAnswer

Returns the active answer matching the id

Parameters

state

The first argument, often a Redux root state object.

params

...[string]

All additional arguments passed into the selector.

Returns

undefined | IAnswer

A derived value from the state.

Param

The BpSdk Redux store

Param

Answer ID