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

Function wrapping

ark/aot/settingsValidators.ts:547–548  ·  view source on GitHub ↗
(checker, also)

Source from the content-addressed store, hash-verified

545 return checker
546}
547var wrapping = (checker, also) =>
548 Object.assign((data, ctx) => checker(data, ctx), checker, also)
549var stringCheck = /* @__PURE__ */ check(
550 "domain",
551 "a string",

Callers 1

optionalFunction · 0.70

Calls 1

checkerFunction · 0.70

Tested by

no test coverage detected