MCPcopy Create free account
hub / github.com/TechJeeper/Printventory / getCombine

Function getCombine

query-builder.js:16–20  ·  view source on GitHub ↗
(kind)

Source from the content-addressed store, hash-verified

14 window.multiFilterCombine = { designer: "OR", license: "OR", parentModel: "OR", tags: "AND", filaments: "AND" };
15 } else if (!window.multiFilterCombine.filaments) {
16 window.multiFilterCombine.filaments = "AND";
17 }
18 }
19
20 function getCombine(kind) {
21 initState();
22 const el = document.querySelector(`input[name="${kind}-combine"]:checked`);
23 return el && el.value === "AND" ? "AND" : "OR";

Callers 2

effectiveScalarValuesFunction · 0.85
wireMultiFilterUIFunction · 0.85

Calls 1

initStateFunction · 0.85

Tested by

no test coverage detected