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

Function assertFunction

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

Source from the content-addressed store, hash-verified

10702 }
10703 }
10704 function assertFunction(x5, context) {
10705 if (typeof x5 !== "function") {
10706 throw new TypeError(`${context} is not a function.`);
10707 }
10708 }
10709 function isObject3(x5) {
10710 return typeof x5 === "object" && x5 !== null || typeof x5 === "function";
10711 }

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…