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

Function isHttpClient

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

Source from the content-addressed store, hash-verified

62 * @since 4.0.0
63 */
64export const isHttpClient = (u: unknown): u is HttpClient => Predicate.hasProperty(u, TypeId)
65
66/**
67 * HTTP client whose requests produce `HttpClientResponse` values and can fail with `HttpClientError`.

Callers 1

HttpClient.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected