findSystemDependentMatch
Stentor API Reference / stentor-request/src / findSystemDependentMatch
Function: findSystemDependentMatch()
findSystemDependentMatch<
T>(objects,request):SystemDependable<T> |undefined
Defined in: packages/stentor-request/src/findSystemDependentMatch.ts:21
Based on the provided request, it finds the slot dependent object that is a match.
Type Parametersβ
Tβ
T extends object
Parametersβ
objectsβ
(T | SystemDependable<T>)[]
Objects to check against the request
requestβ
Request that the objects will be tested against
Returnsβ
SystemDependable<T> | undefined
The matched object or undefined if no match was found.