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

Function resolvedVariantOf

ark/aot/host.ts:490–495  ·  view source on GitHub ↗
(
	opts: PrecompileOptions | undefined
)

Source from the content-addressed store, hash-verified

488
489// loaded in place of @ark/schema's runtime, but not in shadow mode
490export const resolvedVariantOf = (
491 opts: PrecompileOptions | undefined
492): RuntimeVariant | undefined =>
493 opts?.runtime === "arktype" || opts?.shadow ?
494 undefined
495 : runtimeVariantOf(opts)
496
497export const schemaSpecifier = /^arktype\/schema(?:\/|$)/
498

Callers 7

runtimeShimOfFunction · 0.90
unplugin.tsFile · 0.90
applySettingsFunction · 0.90
registerFunction · 0.90
precompileFunction · 0.90
resolvePrecompileOptionsFunction · 0.90
emitPrecompiledFunction · 0.90

Calls 1

runtimeVariantOfFunction · 0.85

Tested by

no test coverage detected