isRequestType
Stentor API Reference / stentor-request/src / isRequestType
Function: isRequestType()
isRequestType(
request,value):boolean
Defined in: packages/stentor-request/src/RequestConditionalCheck.ts:56
Check if the request is the following type or types
Parameters​
request​
Request under test
value​
Value(s) to match the type for
string | string[]
Returns​
boolean