MCPcopy
hub / github.com/di-sukharev/opencommit / isReadableStreamLike

Function isReadableStreamLike

out/cli.cjs:13768–13770  ·  view source on GitHub ↗
(stream4)

Source from the content-addressed store, hash-verified

13766 return [branch1, branch2];
13767 }
13768 function isReadableStreamLike(stream4) {
13769 return typeIsObject(stream4) && typeof stream4.getReader !== "undefined";
13770 }
13771 function ReadableStreamFrom(source) {
13772 if (isReadableStreamLike(source)) {
13773 return ReadableStreamFromDefaultReader(source.getReader());

Callers 2

ReadableStreamFromFunction · 0.85
extractBodyFunction · 0.85

Calls 1

typeIsObjectFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…