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

Function IsReadableStream

out/cli.cjs:14118–14126  ·  view source on GitHub ↗
(x5)

Source from the content-addressed store, hash-verified

14116 stream4._disturbed = false;
14117 }
14118 function IsReadableStream(x5) {
14119 if (!typeIsObject(x5)) {
14120 return false;
14121 }
14122 if (!Object.prototype.hasOwnProperty.call(x5, "_readableStreamController")) {
14123 return false;
14124 }
14125 return x5 instanceof ReadableStream7;
14126 }
14127 function IsReadableStreamLocked(stream4) {
14128 if (stream4._reader === void 0) {
14129 return false;

Callers 8

assertReadableStreamFunction · 0.85
lockedMethod · 0.85
cancelMethod · 0.85
getReaderMethod · 0.85
pipeThroughMethod · 0.85
pipeToMethod · 0.85
teeMethod · 0.85
valuesMethod · 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…