Skip to content

@pbvex/protocol / isHttpResponse

Function: isHttpResponse()

isHttpResponse(value): value is Readonly<{ body: JSONValue; headers?: Record<string, string>; status: number }>

Parameters

value

unknown

Returns

value is Readonly<{ body: JSONValue; headers?: Record<string, string>; status: number }>

Generated API reference. Source of truth is the codebase.