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

Function fill

ark/schema/shared/render.ts:266–269  ·  view source on GitHub ↗
(k: string, entry: unknown)

Source from the content-addressed store, hash-verified

264): Locale.Resolved => {
265 let completed: Record<string, unknown> | undefined
266 const fill = (k: string, entry: unknown) => {
267 completed ??= { ...locale }
268 completed[k] = entry
269 }
270 let k: keyof Locale.Resolved
271 for (k in en) {
272 const entry = locale[k] as Record<string, unknown> | undefined

Callers 1

completeFromFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected