MCPcopy Create free account

hub / github.com/colinhacks/zod / functions

Functions2,280 in github.com/colinhacks/zod

↓ 1 callersFunctioninSide
See `classic/in-out.ts`.
packages/zod/src/v4/mini/in-out.ts:23
↓ 1 callersFunctioninit
(inst: T, def: D)
packages/zod/src/v4/core/core.ts:73
↓ 1 callersFunctioninitializer
(inst: $ZodError, def: $ZodIssue[])
packages/zod/src/v4/core/errors.ts:261
↓ 1 callersFunctioninner
()
scripts/compile-fuzz.ts:105
↓ 1 callersFunctioninstallCompiledUserMethods
( target: T, source: T, parser: CompiledFn<core.output<T>> )
packages/zod/src/v4/core/compile.ts:202
↓ 1 callersFunctioninstanceofClass
(x: any)
packages/bench/instanceof.ts:21
↓ 1 callersFunctioninstanceofObjectThenCheckSymbol
(x: any)
packages/bench/instanceof.ts:27
↓ 1 callersFunctioninstanceofObjectThenCheckTag
(x: any)
packages/bench/instanceof.ts:28
↓ 1 callersFunctioninstanceofPromise
(x: any)
packages/bench/instanceof.ts:22
↓ 1 callersFunctionint
(params)
packages/zod/src/v4/classic/schemas.ts:1191
↓ 1 callersFunctionintersection
( left: T, right: U )
packages/zod/src/v4/classic/schemas.ts:1875
↓ 1 callersFunctioninvalid
(schema: z.ZodType, value: unknown)
packages/zod/src/v4/core/tests/compile.test.ts:38
↓ 1 callersMethodip
(options?: string | { version?: IpVersion; message?: string | undefined })
packages/zod/src/v3/types.ts:1100
↓ 1 callersFunctionisExactOptional
(schema: SomeType)
packages/zod/src/v4/core/compile.ts:1393
↓ 1 callersFunctionisIso7064Mod97
(iban: string)
packages/zod/src/v4/core/schemas.ts:1172
↓ 1 callersFunctionisLikelyTabValue
(actual: string, expected: string)
packages/docs/content/api.test.ts:223
↓ 1 callersFunctionisLuhnAlgo
Luhn checksum on a digit-only string. Adapted from valibot (MIT).
packages/zod/src/v4/core/schemas.ts:1124
↓ 1 callersFunctionisSimpleIntersection
(val: any)
packages/zod/src/v4/core/json-schema-processors.ts:507
↓ 1 callersFunctionisTransforming
( _schema: schemas.$ZodType, _ctx?: { seen: Set<schemas.$ZodType>; } )
packages/zod/src/v4/core/to-json-schema.ts:760
↓ 1 callersFunctionisValidCIDRv6
(value: string)
packages/zod/src/v4/core/schemas.ts:991
↓ 1 callersFunctionisValidCidr
(ip: string, version?: IpVersion)
packages/zod/src/v3/types.ts:720
↓ 1 callersFunctionisValidCreditCard
(input: string)
packages/zod/src/v4/core/schemas.ts:1136
↓ 1 callersFunctionisValidIBAN
(input: string)
packages/zod/src/v4/core/schemas.ts:1186
↓ 1 callersFunctionisValidIP
(ip: string, version?: IpVersion)
packages/zod/src/v3/types.ts:687
↓ 1 callersFunctionisValidJWT
(jwt: string, alg?: string)
packages/zod/src/v3/types.ts:698
↓ 1 callersFunctionisoDatetimeToDate
()
packages/zod/src/v4/classic/tests/codec-examples.test.ts:124
↓ 1 callersFunctionjaccard
(a: Set<string>, b: Set<string>)
scripts/triage-signal.ts:385
↓ 1 callersFunctionjson
(params?: string | core.$ZodCustomParams)
packages/zod/src/v4/classic/schemas.ts:2918
↓ 1 callersFunctionjsonCodec
(schema: T)
packages/zod/src/v4/classic/tests/codec-examples.test.ts:208
↓ 1 callersFunctionjsrReleases
(name: string)
scripts/check-lockstep.ts:23
↓ 1 callersFunctionjustReturn
(input: Record<string, unknown>)
packages/bench/compile-object-build.ts:36
↓ 1 callersFunctionkeyin
(x: any)
packages/bench/instanceof.ts:23
↓ 1 callersFunctionkeysOf
(block: string)
packages/zod/src/v4/core/tests/locales/parity.test.ts:12
↓ 1 callersFunctionlargeBuildNew
(input: Record<string, unknown>)
packages/bench/compile-passthrough.ts:210
↓ 1 callersFunctionlargeReturnInput
(input: Record<string, unknown>)
packages/bench/compile-passthrough.ts:179
↓ 1 callersFunctionlargeSpread
(input: Record<string, unknown>)
packages/bench/compile-passthrough.ts:265
↓ 1 callersFunctionlazy
(getter: () => T)
packages/zod/src/v4/classic/schemas.ts:2691
↓ 1 callersFunctionlazyWithGetterOverride
(getter: () => T)
packages/bench/lazy-box.ts:31
↓ 1 callersFunctionlazyWithInternalProp
(getter: () => T)
packages/bench/lazy-box.ts:4
↓ 1 callersFunctionlazyWithScopeProp
(getter: () => T)
packages/bench/lazy-box.ts:16
↓ 1 callersFunctionleading
(code: string)
packages/bench/memory/indent-leak.ts:34
↓ 1 callersFunctionleaf
(c: Ctx)
packages/zod/src/v4/core/tests/compile-generative.test.ts:42
↓ 1 callersFunctionleafPattern
(schema: $ZodType)
packages/zod/src/v4/core/schemas.ts:4736
↓ 1 callersFunctionleft
()
packages/zod/src/v4/classic/tests/cyclic-data.test.ts:629
↓ 1 callersFunctionline
(cells: string[])
packages/bench/memory/harness.ts:76
↓ 1 callersFunctionliteralEquality
(ctx: CompileContext, accessor: string, value: unknown)
packages/zod/src/v4/core/compile.ts:1915
↓ 1 callersFunctionliteralPropertyKey
(ctx: CompileContext, key: string | symbol)
packages/zod/src/v4/core/compile.ts:2095
↓ 1 callersFunctionliteralProps
(n: number)
packages/bench/memory/prop-slack.ts:21
↓ 1 callersFunctionlive
()
packages/zod/src/v4/classic/tests/error.test.ts:1042
↓ 1 callersFunctionloadGraph
(file: string)
packages/bench/memory/retainers.ts:35
↓ 1 callersFunctionloadPriorTriage
Reads `verdict`/`status` out of the frontmatter of any existing .triage/*<N>/results.md.
scripts/triage-signal.ts:613
↓ 1 callersFunctionlooksLikeEnglish
(body: string)
scripts/check-comments.ts:47
↓ 1 callersMethodloose
Consider `z.looseObject(A.shape)` instead
packages/zod/src/v4/classic/schemas.ts:1594
↓ 1 callersFunctionmain
()
scripts/triage-signal.ts:661
↓ 1 callersFunctionmake
()
packages/zod/src/v4/classic/tests/deep-partial.test.ts:372
↓ 1 callersFunctionmakeBig
(i: number)
packages/bench/memory/leaks.ts:95
↓ 1 callersFunctionmakeDigests
(alg: Alg, input: string)
packages/zod/src/v4/classic/tests/hash.test.ts:12
↓ 1 callersFunctionmakeFail
(value: unknown)
packages/bench/safe.ts:14
↓ 1 callersFunctionmakeJwt
(header: object, payload: object)
packages/zod/src/v3/tests/string.test.ts:250
↓ 1 callersFunctionmakeJwt
(header: object, payload: object)
packages/zod/src/v4/classic/tests/string.test.ts:366
↓ 1 callersFunctionmakeResource
One "resource" the way an API codebase tends to define them.
packages/bench/memory/realworld.ts:11
↓ 1 callersFunctionmakeRng
(seed: number)
packages/zod/src/v4/core/tests/compile-differential.test.ts:780
↓ 1 callersFunctionmakeSchema
(z: typeof z4)
packages/bench/discriminated-union.ts:52
↓ 1 callersFunctionmakeShape
()
packages/zod/src/v4/classic/tests/object.test.ts:756
↓ 1 callersFunctionmakeSuccess
(value: unknown)
packages/bench/safe.ts:11
↓ 1 callersFunctionmakeURI
(entry: [schemas.$ZodType<unknown, unknown>, Seen])
packages/zod/src/v4/core/to-json-schema.ts:330
↓ 1 callersFunctionmakeZodObj
(key: T)
packages/zod/src/v4/classic/tests/object.test.ts:621
↓ 1 callersFunctionmanual
(str: unknown)
packages/zod/src/v3/benchmarks/string.ts:11
↓ 1 callersFunctionmap
( keyType: Key, valueType: Value, params?: string | core.$ZodMapParams )
packages/zod/src/v4/classic/schemas.ts:2044
↓ 1 callersFunctionmap
( keyType: Key, valueType: Value, params?: string | core.$ZodMapParams )
packages/zod/src/v4/mini/schemas.ts:1347
↓ 1 callersFunctionmapInner
(s: AnyZod)
packages/zod/src/v4/core/visit.ts:59
↓ 1 callersFunctionmax
(...args)
packages/zod/src/v4/classic/schemas.ts:418
↓ 1 callersFunctionmayOmitUndefined
(schema: SomeType)
packages/zod/src/v4/core/compile.ts:1478
↓ 1 callersFunctionmayOutputUndefined
(schema: SomeType)
packages/zod/src/v4/core/compile.ts:1483
↓ 1 callersFunctionmeasure
(schema: z.ZodType, input: unknown)
packages/bench/validate-abort-sweep.ts:152
↓ 1 callersFunctionmeasure
(plain: z.ZodType, compiled: z.ZodType | null, input: unknown)
packages/bench/validate-vs-safeparse.ts:137
↓ 1 callersFunctionmediumBuildNew
(input: Record<string, unknown>)
packages/bench/compile-passthrough.ts:91
↓ 1 callersFunctionmediumSpread
(input: Record<string, unknown>)
packages/bench/compile-passthrough.ts:117
↓ 1 callersFunctionmerge
(answer: Answer)
packages/zod/src/v4/core/memoizer.ts:79
↓ 1 callersMethodmergeObjectAsync
( status: ParseStatus, pairs: { key: ParseReturnType<any>; value: ParseReturnType<any> }[] )
packages/zod/src/v3/helpers/parseUtil.ts:112
↓ 1 callersFunctionmergeValues
(a: any, b: any)
packages/zod/src/v3/types.ts:3241
↓ 1 callersFunctionmergeValues
( a: any, b: any )
packages/zod/src/v4/core/schemas.ts:2855
↓ 1 callersFunctionmin
(...args)
packages/zod/src/v4/classic/schemas.ts:415
↓ 1 callersMethodmin
(minLength: number, message?: errorUtil.ErrMessage)
packages/zod/src/v3/types.ts:1200
↓ 1 callersMethodmin
(minLength: number, message?: errorUtil.ErrMessage)
packages/zod/src/v3/types.ts:2321
↓ 1 callersFunctionminItems
(schema: z.core.$ZodType, io: "input" | "output")
packages/zod/src/v4/classic/tests/to-json-schema.test.ts:1818
↓ 1 callersFunctionmirrorProps
(target: object, source: Record<PropertyKey, any>)
packages/zod/src/v4/core/util.ts:445
↓ 1 callersFunctionmulberry32
(seed: number)
packages/zod/src/v4/core/tests/compile-generative.test.ts:8
↓ 1 callersFunctionmutating
(effect: (o: Record<PropertyKey, unknown>) => void)
packages/zod/src/v4/core/tests/compile.test.ts:1713
↓ 1 callersFunctionnarrowBoth
(agg: CheckAggregate, value: number)
packages/zod/src/v4/core/json-schema-processors.ts:50
↓ 1 callersFunctionnest
(schema: TData)
packages/zod/src/v4/classic/tests/generics.test.ts:4
↓ 1 callersFunctionnested
(depth: number, fanout: number, p: string)
packages/bench/memory/compiled-slope.ts:14
↓ 1 callersFunctionnestedDeepClone
(input: NestedData)
packages/bench/compile-output.ts:192
↓ 1 callersFunctionnestedPlain
(input: any)
packages/bench/compile-wrapper-cost.ts:134
↓ 1 callersFunctionnestedTagged
(input: any)
packages/bench/compile-wrapper-cost.ts:128
↓ 1 callersFunctionnever
(params?: string | core.$ZodNeverParams)
packages/zod/src/v4/mini/schemas.ts:833
↓ 1 callersFunctionnewError
(Definition: new () => any)
packages/zod/src/v4/core/core.ts:30
↓ 1 callersFunctionnewestMtime
(dir: string)
packages/treeshake/default-locale.test.ts:24
↓ 1 callersFunctionnode
Get-or-create `obj[key]` as an own data property. A path segment naming an inherited member * ("toString", "constructor") would otherwise read throug
packages/zod/src/v4/core/errors.ts:311
↓ 1 callersFunctionnormalize
(node: any, kind: "issue" | "pr")
scripts/triage-signal.ts:278
← previousnext →801–900 of 2,280, ranked by callers