MCPcopy Create free account
hub / github.com/antvis/AVA / validateDSL

Method validateDSL

src/query/javascript.ts:89–92  ·  view source on GitHub ↗
(code: string)

Source from the content-addressed store, hash-verified

87 }
88
89 async validateDSL(code: string): Promise<string> {
90 if (!code.trim()) throw new Error('JavaScript query must contain code');
91 return code;
92 }
93}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected