MCPcopy Index your code
hub / github.com/Effect-TS/effect / isServerResponse

Function isServerResponse

packages/platform/src/internal/httpServerResponse.ts:86–87  ·  view source on GitHub ↗
(u: unknown)

Source from the content-addressed store, hash-verified

84
85/** @internal */
86export const isServerResponse = (u: unknown): u is ServerResponse.HttpServerResponse =>
87 typeof u === "object" && u !== null && TypeId in u
88
89/** @internal */
90export const empty = (options?: ServerResponse.Options.WithContent | undefined): ServerResponse.HttpServerResponse =>

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…