Console
hyTags
Home
Home
Getting Started
Getting Started
Documentation
Documentation
response-is-object
Checks if the response content type is JSON (application/json).
Parameter
Type
Description
self
response
The response to check
return
bool
True if the response has application/json content type, false otherwise