findSlotDependentMatch
Stentor API Reference / stentor-interaction-model/src / findSlotDependentMatch
Function: findSlotDependentMatch()
findSlotDependentMatch\<
T>(objects,slots):SlotDependable\<T>
Defined in: packages/stentor-interaction-model/src/Slot/findSlotDependentMatch.ts:16
Based on the request, it finds a slot dependent object that matches.
Type Parametersβ
Tβ
T extends object
Parametersβ
objectsβ
(T | SlotDependable\<T>)[]
Objects to look within
slotsβ
Returnsβ
SlotDependable\<T>
- Returns the matched slot dependent object or undefined if not match was found.