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

Function or

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

Source from the content-addressed store, hash-verified

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);
62
63export function clearCppMacroVisibility(context: ResolutionContext): void {

Callers 1

scanFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected