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

Function IsWritableStream

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

Source from the content-addressed store, hash-verified

12235 stream4._backpressure = false;
12236 }
12237 function IsWritableStream(x5) {
12238 if (!typeIsObject(x5)) {
12239 return false;
12240 }
12241 if (!Object.prototype.hasOwnProperty.call(x5, "_writableStreamController")) {
12242 return false;
12243 }
12244 return x5 instanceof WritableStream2;
12245 }
12246 function IsWritableStreamLocked(stream4) {
12247 if (stream4._writer === void 0) {
12248 return false;

Callers 6

assertWritableStreamFunction · 0.85
lockedMethod · 0.85
abortMethod · 0.85
closeMethod · 0.85
getWriterMethod · 0.85
pipeToMethod · 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…