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

Function isRunAtLoad

ark/aot/interpreter.ts:3437–3438  ·  view source on GitHub ↗
(node: Node, module: SourceModule)

Source from the content-addressed store, hash-verified

3435// constructs one then. Not in a method, a function it passes elsewhere or one an
3436// import cycle may call, as a build mustn't throw where arktype wouldn't
3437export const isRunAtLoad = (node: Node, module: SourceModule): boolean =>
3438 isRunAtLoadBy(node, module, new Set())
3439
3440const isRunAtLoadBy = (
3441 node: Node,

Callers 2

siteOfMethod · 0.90
callsCreatorAtLoadMethod · 0.90

Calls 1

isRunAtLoadByFunction · 0.85

Tested by

no test coverage detected