Skip to main content

mergeSlots

Stentor API Reference


Stentor API Reference / stentor-interaction-model/src / mergeSlots

Function: mergeSlots()

mergeSlots(primary, secondary, results): Slot[]

Defined in: packages/stentor-interaction-model/src/Slot/merge.ts:21

Merge two arrays of slots together.

A slot in the secondary array is ignored if one in the primary with the same name is found.

Parameters​

primary​

Slot[]

secondary​

Slot[]

results​

MergeSlotsResult = {}

Returns​

Slot[]