findRequestDependentMatch
Stentor API Reference / stentor-request/src / findRequestDependentMatch
Function: findRequestDependentMatch()
findRequestDependentMatch<
T>(potentials,request):RequestDependable<T> |undefined
Defined in: packages/stentor-request/src/findRequestDependentMatch.ts:13
Based on the provided request, it finds a request dependent match or undefined if no match is found.
Type Parametersβ
Tβ
T extends object
Parametersβ
potentialsβ
(T | RequestDependable<T>)[]
requestβ
Returnsβ
RequestDependable<T> | undefined