griddy-sdk / matchResponse
Function: matchResponse()¶
matchResponse(
response,statusCodes,contentType):boolean
Defined in: src/griddy/nfl/_constants.ts:69
Check if response matches status code and content type.
Parameters¶
response¶
Response
statusCodes¶
string | string[]
contentType¶
string
Returns¶
boolean