toResponseOutput
Stentor API Reference / stentor-utils/src / toResponseOutput
Function: toResponseOutput()
toResponseOutput(
input):ResponseOutput
Defined in: packages/stentor-utils/src/response.ts:16
Ensures that an outputSpeech or reprompt, either string or ResponseOutput, is a ResponseOutput.
Parameters​
input​
Either a string or ResponseOutput to convert to a ResponseOutput
string | ResponseOutput