MCPcopy Create free account
hub / github.com/Effect-TS/effect / isHttpServerResponse

Function isHttpServerResponse

packages/effect/src/http/HttpServerResponse.ts:123–123  ·  view source on GitHub ↗
(u: unknown)

Source from the content-addressed store, hash-verified

121 * @since 4.0.0
122 */
123export const isHttpServerResponse = (u: unknown): u is HttpServerResponse => hasProperty(u, TypeId)
124
125/**
126 * Creates an empty HTTP response.

Callers 1

Calls 1

hasPropertyFunction · 0.90

Tested by

no test coverage detected