MCPcopy Index your code
hub / github.com/di-sukharev/opencommit / assertReadableStream

Function assertReadableStream

out/cli.cjs:10753–10757  ·  view source on GitHub ↗
(x5, context)

Source from the content-addressed store, hash-verified

10751 return x5;
10752 }
10753 function assertReadableStream(x5, context) {
10754 if (!IsReadableStream(x5)) {
10755 throw new TypeError(`${context} is not a ReadableStream.`);
10756 }
10757 }
10758 function AcquireReadableStreamDefaultReader(stream4) {
10759 return new ReadableStreamDefaultReader2(stream4);
10760 }

Callers 3

constructorMethod · 0.85
constructorMethod · 0.85

Calls 1

IsReadableStreamFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…