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

Function check

test/syntax-check.test.ts:20–23  ·  view source on GitHub ↗
(name: string, cond: boolean)

Source from the content-addressed store, hash-verified

18let passed = 0;
19let failed = 0;
20function check(name: string, cond: boolean) {
21 if (cond) { passed++; console.log(` ✓ ${name}`); }
22 else { failed++; console.log(` ✗ ${name}`); }
23}
24
25function node(partial: Partial<TSNodeLike> & { type: string }, children: TSNodeLike[] = []): TSNodeLike {
26 return {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected