MCPcopy
hub / github.com/di-sukharev/opencommit / assertObject

Function assertObject

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

Source from the content-addressed store, hash-verified

10710 return typeof x5 === "object" && x5 !== null || typeof x5 === "function";
10711 }
10712 function assertObject(x5, context) {
10713 if (!isObject3(x5)) {
10714 throw new TypeError(`${context} is not an object.`);
10715 }
10716 }
10717 function assertRequiredArgument(x5, position, context) {
10718 if (x5 === void 0) {
10719 throw new TypeError(`Parameter ${position} is required in '${context}'.`);

Callers 2

constructorMethod · 0.85
constructorMethod · 0.85

Calls 1

isObject3Function · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…