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

Function assertRequiredField

out/cli.cjs:10722–10726  ·  view source on GitHub ↗
(x5, field, context)

Source from the content-addressed store, hash-verified

10720 }
10721 }
10722 function assertRequiredField(x5, field, context) {
10723 if (x5 === void 0) {
10724 throw new TypeError(`${field} is required in '${context}'.`);
10725 }
10726 }
10727 function convertUnrestrictedDouble(value) {
10728 return Number(value);
10729 }

Callers 2

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…