Skip to main content

mergeIntents

Stentor API Reference


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

Function: mergeIntents()

mergeIntents(primary, secondary, results?): Intent

Defined in: packages/stentor-interaction-model/src/Intent/merge.ts:72

Merge the properties of two intents.

The first intent being the primary, and the second being the secondary. Values from the primary are preferred over the secondary.

Parameters​

primary​

Intent

secondary​

Intent

results?​

MergeIntentsResults

Returns​

Intent