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

Function isReadableStream

packages/effect/src/http/HttpClientRequest.ts:1221–1222  ·  view source on GitHub ↗
(u: unknown)

Source from the content-addressed store, hash-verified

1219}
1220
1221const isReadableStream = (u: unknown): u is ReadableStream<Uint8Array> =>
1222 typeof ReadableStream !== "undefined" && u instanceof ReadableStream
1223
1224/**
1225 * Converts an `HttpClientRequest` to a Web `Request`, failing with `UrlError` when the request URL is invalid.

Callers 1

toWebResultFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected