MCPcopy Create free account

hub / github.com/colinhacks/zod / functions

Functions2,263 in github.com/colinhacks/zod

↓ 2 callersFunctionmediumReturnInput
(input: Record<string, unknown>)
packages/bench/compile-passthrough.ts:76
↓ 2 callersMethodmergeArray
(status: ParseStatus, results: SyncParseReturnType<any>[])
packages/zod/src/v3/helpers/parseUtil.ts:101
↓ 2 callersMethodmin
(minSize: number, message?: errorUtil.ErrMessage)
packages/zod/src/v3/types.ts:3757
↓ 2 callersFunctionmultiBuildNew
(input: Record<string, unknown>)
packages/bench/compile-output.ts:246
↓ 2 callersFunctionmultiMutate
(input: Record<string, unknown>)
packages/bench/compile-output.ts:239
↓ 2 callersFunctionnestedClonePath
(input: NestedData)
packages/bench/compile-output.ts:182
↓ 2 callersFunctionnestedMutate
(input: NestedData)
packages/bench/compile-output.ts:177
↓ 2 callersFunctionnever
(params?: string | core.$ZodNeverParams)
packages/zod/src/v4/classic/schemas.ts:1451
↓ 2 callersFunctionnumericOperand
* A count bound reaches generated source verbatim, so a non-number would be * emitted as code rather than as a value — `min('0) {} evil(); if (0')` w
packages/zod/src/v4/core/compile.ts:493
↓ 2 callersFunctionobject
(enumerable: boolean)
packages/zod/src/v4/classic/tests/cyclic-data.test.ts:929
↓ 2 callersFunctionoutSide
The out side, carrying the pipe's own checks: those run against the decoded value, which is what `out` produces.
packages/zod/src/v4/classic/in-out.ts:18
↓ 2 callersFunctionoutSide
See `classic/in-out.ts`.
packages/zod/src/v4/mini/in-out.ts:18
↓ 2 callersMethodoutput
(output: NewReturns)
packages/zod/src/v4/mini/schemas.ts:1999
↓ 2 callersFunctionparseURLObject
( trimmed: string, def: Pick<$ZodURLDef, "protocol" | "normalize"> )
packages/zod/src/v4/core/schemas.ts:529
↓ 2 callersFunctionpick
(xs: T[])
packages/zod/src/v4/core/tests/email-regex.test.ts:92
↓ 2 callersFunctionpick
(xs: T[])
packages/zod/src/v4/core/tests/compile-differential.test.ts:768
↓ 2 callersFunctionpick
(xs: T[])
scripts/compile-fuzz.ts:17
↓ 2 callersFunctionprintAvailableCases
()
packages/bench/compile-vs-arktype.ts:36
↓ 2 callersMethodprocess
* Process a schema to prepare it for JSON Schema generation. * This must be called before emit().
packages/zod/src/v4/core/json-schema-generator.ts:104
↓ 2 callersFunctionputProp
(target: any, key: PropertyKey, value: any)
packages/zod/src/v4/core/util.ts:415
↓ 2 callersFunctionrandomPick
(options: any[])
packages/bench/benchUtil.ts:25
↓ 2 callersMethodremoveDefault
@deprecated Use `.unwrap()` instead.
packages/zod/src/v4/classic/schemas.ts:2382
↓ 2 callersFunctionrun
()
packages/bench/index.ts:5
↓ 2 callersFunctionrun
(s: AnyZod)
packages/zod/src/v4/core/visit.ts:42
↓ 2 callersFunctionrunChecks
( payload: ParsePayload, checks: checks.$ZodCheck<never>[], ctx?: ParseContextInternal
packages/zod/src/v4/core/schemas.ts:233
↓ 2 callersMethodsafe
@deprecated This is now identical to `.int()`. Only numbers in the safe integer range are accepted.
packages/zod/src/v4/classic/schemas.ts:1118
↓ 2 callersFunctionsafeParse
(data, params)
packages/zod/src/v4/classic/schemas.ts:302
↓ 2 callersMethodsafeParseAsync
( data: unknown, params?: core.ParseContext<core.$ZodIssue> )
packages/zod/src/v4/mini/schemas.ts:34
↓ 2 callersFunctionserializeDefaultValue
( value: unknown, schema: schemas.$ZodType, ctx: ToJSONSchemaContext, json: JSONSchema.BaseSchema, p
packages/zod/src/v4/core/json-schema-processors.ts:746
↓ 2 callersFunctionsetFormat
(agg: CheckAggregate, format: string)
packages/zod/src/v4/core/json-schema-processors.ts:66
↓ 2 callersFunctionsmallBuildNew
(input: Record<string, unknown>)
packages/bench/compile-passthrough.ts:22
↓ 2 callersFunctionsmallReturnInput
(input: Record<string, unknown>)
packages/bench/compile-passthrough.ts:14
↓ 2 callersFunctionsmallSpread
(input: Record<string, unknown>)
packages/bench/compile-passthrough.ts:34
↓ 2 callersFunctionstable
(versions: string[])
scripts/check-lockstep.ts:9
↓ 2 callersFunctionstartsWithIndex
(s: string)
packages/bench/compile-startswith.ts:27
↓ 2 callersFunctionstartsWithNative
(s: string)
packages/bench/compile-startswith.ts:11
↓ 2 callersFunctionstartsWithRegex
(s: string)
packages/bench/compile-startswith.ts:15
↓ 2 callersFunctionstartsWithSlice
(s: string)
packages/bench/compile-startswith.ts:21
↓ 2 callersFunctionstartsWithSubstring
(s: string)
packages/bench/compile-startswith.ts:24
↓ 2 callersMethodstep
@deprecated Use `.multipleOf()` instead.
packages/zod/src/v4/classic/schemas.ts:1125
↓ 2 callersFunctionstring
(params?: string | core.$ZodStringParams)
packages/zod/src/v4/classic/schemas.ts:618
↓ 2 callersFunctionstring
(params?: string | core.$ZodStringParams)
packages/zod/src/v4/mini/schemas.ts:124
↓ 2 callersMethodstrip
This is the default behavior. This method call is likely unnecessary.
packages/zod/src/v4/classic/schemas.ts:1595
↓ 2 callersFunctionstripBackticks
(text: string)
packages/docs/components/inline-code-title.tsx:15
↓ 2 callersFunctionstripBuildNew
(input: Record<string, unknown>)
packages/bench/compile-output.ts:69
↓ 2 callersFunctionstripDelete
(input: Record<string, unknown>)
packages/bench/compile-output.ts:62
↓ 2 callersFunctionstripFromEntries
(input: Record<string, unknown>)
packages/bench/compile-output.ts:76
↓ 2 callersFunctiontimeRegexSource
(args: { precision?: number | null })
packages/zod/src/v3/types.ts:652
↓ 2 callersFunctiontimeSource
(args: { precision?: number | null | undefined; seconds?: boolean })
packages/zod/src/v4/core/regexes.ts:115
↓ 2 callersFunctiontimed
(fn: () => void, iters: number)
packages/bench/moltar-libs.ts:222
↓ 2 callersFunctiontimed
(fn: () => void, iters: number)
packages/bench/compile-matrix.ts:246
↓ 2 callersFunctiontoLowerCase
(s: string)
packages/bench/compile-output.ts:237
↓ 2 callersFunctiontoStandardResult
(r: ParsePayload, ctx: ParseContextInternal)
packages/zod/src/v4/core/schemas.ts:338
↓ 2 callersFunctiontransformBuildNew
(input: Record<string, unknown>)
packages/bench/compile-output.ts:128
↓ 2 callersFunctiontransformClone
(input: Record<string, unknown>)
packages/bench/compile-output.ts:122
↓ 2 callersFunctiontransformMutate
(input: Record<string, unknown>)
packages/bench/compile-output.ts:117
↓ 2 callersFunctiontypeEntry
(t?: string | null)
packages/zod/src/v4/locales/he.ts:38
↓ 2 callersFunctiontypeLabel
(t?: string | null)
packages/zod/src/v4/locales/he.ts:40
↓ 2 callersFunctionunion
( options: T, params?: string | core.$ZodUnionParams )
packages/zod/src/v4/classic/schemas.ts:1780
↓ 2 callersFunctionunknown
()
packages/zod/src/v4/mini/schemas.ts:808
↓ 2 callersFunctionurlHostnameOk
(url: URL, hostname: RegExp)
packages/zod/src/v4/core/schemas.ts:553
↓ 2 callersFunctionurlProtocolOk
(url: URL, protocol: RegExp)
packages/zod/src/v4/core/schemas.ts:558
↓ 2 callersMethoduuidv4
@deprecated Use `z.uuid()` instead.
packages/zod/src/v4/classic/schemas.ts:467
↓ 2 callersMethoduuidv6
@deprecated Use `z.uuid()` instead.
packages/zod/src/v4/classic/schemas.ts:469
↓ 2 callersMethoduuidv7
@deprecated Use `z.uuid()` instead.
packages/zod/src/v4/classic/schemas.ts:471
↓ 2 callersFunctionvalidateAndReturn
(input: unknown)
packages/bench/compile-output.ts:22
↓ 2 callersMethodvalidateAsync
(data: unknown, params?: core.ParseContext<core.$ZodIssue>)
packages/zod/src/v4/classic/schemas.ts:82
↓ 2 callersFunctionvalidateOnly
(input: unknown)
packages/bench/compile-output.ts:13
↓ 2 callersFunctionvalidateOutput
(value: any)
packages/bench/compile-codec-direction.ts:67
↓ 2 callersMethodwith
(...checks: (core.CheckFn<core.output<this>> | core.$ZodCheck<core.output<this>>)[])
packages/zod/src/v4/classic/schemas.ts:54
↓ 2 callersFunctionwithConstChain
(input: unknown)
packages/bench/compile-overwrite.ts:18
↓ 2 callersFunctionwithInline
(input: unknown)
packages/bench/compile-overwrite.ts:28
↓ 2 callersFunctionwithLeak
(on: boolean, fn: () => T)
packages/bench/memory/indent-leak.ts:13
↓ 2 callersFunctionwithLetReassign
(input: unknown)
packages/bench/compile-overwrite.ts:8
↓ 2 callersFunctionwithParser
(schema: T, parser: (input: unknown) => core.output<T> | INVALID)
packages/zod/src/v4/core/compile.ts:151
↓ 1 callersFunction$constructor
( name: string, initializer: (inst: T, def: D) => void, /** This trait's members, installed once on ever
packages/zod/src/v4/core/core.ts:51
↓ 1 callersFunction_catch
( innerType: T, catchValue: core.output<T> | ((ctx: core.$ZodCatchCtx) => core.output<T>) )
packages/zod/src/v4/classic/schemas.ts:2505
↓ 1 callersFunction_check
(fn: schemas.CheckFn<O>, params?: string | $ZodCustomParams)
packages/zod/src/v4/core/api.ts:1739
↓ 1 callersMethod_classic
@deprecated
packages/zod/src/v4/classic/tests/prototypes.test.ts:7
↓ 1 callersMethod_core
@deprecated
packages/zod/src/v4/mini/tests/prototypes.test.ts:7
↓ 1 callersFunction_decode
(_Err)
packages/zod/src/v4/core/parse.ts:216
↓ 1 callersFunction_decodeAsync
(_Err)
packages/zod/src/v4/core/parse.ts:251
↓ 1 callersFunction_default
( innerType: T, defaultValue: util.NoUndefined<core.output<T>> | (() => util.NoUndefined<core.output<T>>)
packages/zod/src/v4/classic/schemas.ts:2393
↓ 1 callersFunction_encode
(_Err)
packages/zod/src/v4/core/parse.ts:198
↓ 1 callersFunction_encodeAsync
(_Err)
packages/zod/src/v4/core/parse.ts:233
↓ 1 callersFunction_ensureDefaultLocale
()
packages/zod/src/v4/classic/schemas.ts:13
↓ 1 callersFunction_ensureDefaultMemoizer
()
packages/zod/src/v4/classic/schemas.ts:18
↓ 1 callersFunction_enum
(values: any, params?: string | core.$ZodEnumParams)
packages/zod/src/v4/classic/schemas.ts:2151
↓ 1 callersFunction_enum
(values: any, params?: string | core.$ZodEnumParams)
packages/zod/src/v4/mini/schemas.ts:1392
↓ 1 callersMethod_getCached
()
packages/zod/src/v3/types.ts:2461
↓ 1 callersMethod_getInvalidInput
(input: ParseInput)
packages/zod/src/v3/types.ts:1697
↓ 1 callersFunction_gt
(value: util.Numeric, params?: string | $ZodCheckGreaterThanParams)
packages/zod/src/v4/core/api.ts:924
↓ 1 callersFunction_gte
(value: util.Numeric, params?: string | $ZodCheckGreaterThanParams)
packages/zod/src/v4/core/api.ts:935
↓ 1 callersFunction_lazy
(getter: () => T)
packages/zod/src/v4/mini/schemas.ts:1829
↓ 1 callersFunction_lazyMethod
(proto: object, key: string, make: (self: ZodError) => unknown)
packages/zod/src/v4/classic/errors.ts:35
↓ 1 callersFunction_lt
( value: util.Numeric, params?: string | $ZodCheckLessThanParams )
packages/zod/src/v4/core/api.ts:891
↓ 1 callersFunction_lte
( value: util.Numeric, params?: string | $ZodCheckLessThanParams )
packages/zod/src/v4/core/api.ts:904
↓ 1 callersMethod_mini
@deprecated
packages/zod/src/v4/mini/tests/prototypes.test.ts:28
↓ 1 callersFunction_null
(params?: string | core.$ZodNullParams)
packages/zod/src/v4/classic/schemas.ts:1414
↓ 1 callersFunction_null
(params?: string | core.$ZodNullParams)
packages/zod/src/v4/mini/schemas.ts:776
← previousnext →301–400 of 2,263, ranked by callers