getMapQuestion

Function

Gets the map question from an Array of questions

Gets the map question from an Array of questions

Parameters

Parameter Type Default Notes
questions Required IS123Question[]

An array of questions

Returns

Property Type Notes
id string
type string
maps Optional Array<{
itemId:
string
name:
string
type:
string
}>
questions Optional IS123Question[]

Function defined in common/src/surveys/utils/get-map-question.ts:10