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

Function convertReadableStreamReaderMode

out/cli.cjs:11842–11848  ·  view source on GitHub ↗
(mode, context)

Source from the content-addressed store, hash-verified

11840 };
11841 }
11842 function convertReadableStreamReaderMode(mode, context) {
11843 mode = `${mode}`;
11844 if (mode !== "byob") {
11845 throw new TypeError(`${context} '${mode}' is not a valid enumeration value for ReadableStreamReaderMode`);
11846 }
11847 return mode;
11848 }
11849 function convertByobReadOptions(options, context) {
11850 var _a6;
11851 assertDictionary(options, context);

Callers 1

convertReaderOptionsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected