True if the response is any error (4xx or 5xx), false otherwise
Example
constresponse = awaitsomeBridgeMethod(); if (isErrorResponse(response)) { // response is narrowed to BridgeError console.error('Error:', response.error); } else { // response is successful or redirect console.log('Success!'); }
Type guard to check if a JSBridge response is an error (4xx or 5xx status codes).