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

Function isInProgram

ark/aot/nextProgram.ts:642–643  ·  view source on GitHub ↗
({ dir }: ReadProgramDir, id: string)

Source from the content-addressed store, hash-verified

640 answer.sourceHash === hashOf(source)
641
642export const isInProgram = ({ dir }: ReadProgramDir, id: string): boolean =>
643 existsSync(answerFileOf(dir, id))
644
645// with ark.json's, where prune: true would be ignored
646export const resolvedOptionsOf = (

Callers 1

checkImportsFunction · 0.90

Calls 1

answerFileOfFunction · 0.85

Tested by

no test coverage detected