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

Function wD

out/cli.cjs:65046–65059  ·  view source on GitHub ↗
(D5)

Source from the content-addressed store, hash-verified

65044 return D5.map((r3) => P(e3, r3)).join(`
65045`);
65046}
65047i();
65048var bD = ["<", ">", "=", ">=", "<="];
65049function xD(D5) {
65050 if (!bD.includes(D5)) throw new TypeError(`Invalid breakpoint operator: ${D5}`);
65051}
65052function wD(D5) {
65053 let F5 = Object.keys(D5).map((u3) => {
65054 let [C5, t2] = u3.split(" ");
65055 xD(C5);
65056 let E4 = Number.parseInt(t2, 10);
65057 if (Number.isNaN(E4)) throw new TypeError(`Invalid breakpoint value: ${t2}`);
65058 let e3 = D5[u3];
65059 return { operator: C5, breakpoint: E4, value: e3 };
65060 }).sort((u3, C5) => C5.breakpoint - u3.breakpoint);
65061 return (u3) => {
65062 var C5;

Callers 1

tableMethod · 0.85

Calls 3

xDFunction · 0.85
sortMethod · 0.45
keysMethod · 0.45

Tested by

no test coverage detected