MCPcopy
hub / github.com/arktypeio/arktype / normalizeRootScopeValue

Method normalizeRootScopeValue

ark/type/scope.ts:270–274  ·  view source on GitHub ↗
(resolution: unknown)

Source from the content-addressed store, hash-verified

268 }
269
270 protected normalizeRootScopeValue(resolution: unknown): unknown {
271 if (isThunk(resolution) && !hasArkKind(resolution, "generic"))
272 return resolution()
273 return resolution
274 }
275
276 protected preparseOwnDefinitionFormat(
277 def: unknown,

Callers

nothing calls this directly

Calls 2

isThunkFunction · 0.90
hasArkKindFunction · 0.90

Tested by

no test coverage detected