MCPcopy Create free account
hub / github.com/QodeXcli/QodeX / isSyntaxGateEnabled

Function isSyntaxGateEnabled

src/tools/ast/syntax-check.ts:57–57  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

55let gateEnabled = true;
56export function setSyntaxGateEnabled(on: boolean): void { gateEnabled = on; }
57export function isSyntaxGateEnabled(): boolean { return gateEnabled; }
58
59function boolProp(v: boolean | (() => boolean) | undefined, self: any): boolean {
60 if (typeof v === 'function') { try { return !!v.call(self); } catch { return false; } }

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected