getResponseByTag
Stentor API Reference / stentor-utils/src / getResponseByTag
Function: getResponseByTag()
getResponseByTag(
responses,tag,surfaceType?,device?):Response
Defined in: packages/stentor-utils/src/getResponseByTag.ts:14
From the provided array of responses, find the response that matches the provided tag.
Parametersβ
responsesβ
Response[]
tagβ
string
surfaceType?β
string
device?β
string