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

Function rootApplyRuntimeOf

ark/schema/node.ts:2223–2224  ·  view source on GitHub ↗
(config: ResolvedConfig)

Source from the content-addressed store, hash-verified

2221) => (Inner<kind> & BaseNodeInput) | null
2222
2223export const rootApplyRuntimeOf = (config: ResolvedConfig): RootApplyRuntime =>
2224 config.errors === "all" ? rootApplyRuntime : $ark.errorModes![config.errors]
2225
2226const compileRootApply = (node: BaseRoot): RootApply =>
2227 new DynamicFunction<(...args: unknown[]) => RootApply>(

Callers 4

traversalFunction · 0.90
constructorFunction · 0.85
createRootApplyFunction · 0.85
compileRootApplyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected