in packages/synthetics-sdk-broken-links/src/link_utils.ts [133:139]
export function isHTTPResponse(
response: HTTPResponse | Error | null
): response is HTTPResponse {
return (
response !== null && typeof response === 'object' && 'status' in response
);
}