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

Function isStream

packages/effect/src/Stream.ts:313–313  ·  view source on GitHub ↗
(u: unknown)

Source from the content-addressed store, hash-verified

311 * @since 4.0.0
312 */
313export const isStream = (u: unknown): u is Stream<unknown, unknown, unknown> => hasProperty(u, TypeId)
314
315/**
316 * The default chunk size used by Stream constructors and combinators.

Callers 1

Stream.tsFile · 0.85

Calls 1

hasPropertyFunction · 0.90

Tested by

no test coverage detected