MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / and

Function and

src/resolution/cpp-macro-visibility.ts:57–58  ·  view source on GitHub ↗
(a: Truth, b: Truth)

Source from the content-addressed store, hash-verified

55const NO_CUTS: string[] = [];
56
57const and = (a: Truth, b: Truth): Truth =>
58 a === false || b === false ? false : a === true && b === true ? true : undefined;
59const or = (a: Truth, b: Truth): Truth =>
60 a === true || b === true ? true : a === false && b === false ? false : undefined;
61const not = (a: Truth): Truth => (a === undefined ? undefined : !a);

Callers 1

scanFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected