getSlotName
Stentor API Reference / stentor-interaction-model/src / getSlotName
Function: getSlotName()
getSlotName(
slot):string
Defined in: packages/stentor-interaction-model/src/getSlotName.ts:12
From a string, it returns the slot name.
It will take fields such as ${foo}, {foo}, or {-|foo} and return foo.
Parameters​
slot​
string
Returns​
string