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

Interface Validator

ark/type/runtime.ts:235–241  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

233 * #### a Type precompiled to validate without arktype, frozen with what it holds
234 */
235export interface Validator {
236 (
237 data: unknown,
238 pipedFromCtx?: Traversal,
239 onFail?: ArkErrors.Handler | null
240 ): unknown
241}
242
243export class Validator {
244 declare meta: ArkEnv.meta

Callers 1

constructorMethod · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected