Skip to content

@pbvex/protocol / isHttpEnvelope

Function: isHttpEnvelope()

isHttpEnvelope(value): value is Readonly<{ body?: JSONValue; headers?: Record<string, string>; method: HttpMethod; path: string; query?: Record<string, string | string[]> }>

Parameters

value

unknown

Returns

value is Readonly<{ body?: JSONValue; headers?: Record<string, string>; method: HttpMethod; path: string; query?: Record<string, string | string[]> }>

Generated API reference. Source of truth is the codebase.