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

Function assertDictionary

out/cli.cjs:10699–10703  ·  view source on GitHub ↗
(obj, context)

Source from the content-addressed store, hash-verified

10697 return typeof x5 === "object" || typeof x5 === "function";
10698 }
10699 function assertDictionary(obj, context) {
10700 if (obj !== void 0 && !isDictionary(obj)) {
10701 throw new TypeError(`${context} is not an object.`);
10702 }
10703 }
10704 function assertFunction(x5, context) {
10705 if (typeof x5 !== "function") {
10706 throw new TypeError(`${context} is not a function.`);

Callers 10

convertReaderOptionsFunction · 0.85
convertByobReadOptionsFunction · 0.85
convertQueuingStrategyFunction · 0.85
convertUnderlyingSinkFunction · 0.85
convertIteratorOptionsFunction · 0.85
convertPipeOptionsFunction · 0.85
convertTransformerFunction · 0.85

Calls 1

isDictionaryFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…