Skip to main content

Function: selectAnswersByReferenceType()

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

Returns the answers that matches the requested reference type

Parameters​

state​

The first argument, often a Redux root state object.

params​

...[string | RegExp]

All additional arguments passed into the selector.

Returns​

IAnswer[]

A derived value from the state.

Param​

The BpSdk Redux store

Param​

Question reference type