MCPcopy Create free account
hub / github.com/arktypeio/arktype / isProgramUnit

Function isProgramUnit

ark/aot/nextProgram.ts:70–71  ·  view source on GitHub ↗
(id: string)

Source from the content-addressed store, hash-verified

68}
69
70export const isProgramUnit = (id: string): boolean =>
71 /[/\\]node_modules[/\\]\.cache[/\\]ark-units[/\\]/.test(id)
72
73// one module as a build's read wrote it, which its own loader call answers from
74export interface ProgramAnswer extends RenderedDiagnostics {

Callers 1

answerFromProgramFunction · 0.90

Calls 1

testMethod · 0.80

Tested by

no test coverage detected