Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/colinhacks/zod
/ functions
Functions
2,280 in github.com/colinhacks/zod
⨍
Functions
2,280
◇
Types & classes
877
↓ 1 callers
Function
error
()
packages/zod/src/v4/locales/ur.ts:5
↓ 1 callers
Function
error
()
packages/zod/src/v4/locales/de.ts:5
↓ 1 callers
Function
escapeXml
(text: string)
packages/docs/app/blog/rss.xml/route.ts:7
↓ 1 callers
Function
exactPartial
(...args)
packages/zod/src/v4/classic/schemas.ts:1722
↓ 1 callers
Function
exactPattern
(p: RegExp)
packages/zod/src/v4/core/json-schema-processors.ts:144
↓ 1 callers
Function
expectFirstStackFrameAtCallsite
(error: unknown)
packages/zod/src/v4/classic/tests/error.test.ts:30
↓ 1 callers
Function
expectMatch
(schema: z.ZodType, value: unknown)
packages/zod/src/v4/core/tests/compile.test.ts:15
↓ 1 callers
Function
expectMethodMatch
(schema: z.ZodType, params?: z.core.ToJSONSchemaParams)
packages/zod/src/v4/classic/tests/to-json-schema-methods.test.ts:5
↓ 1 callers
Function
expectStripped
(parsed: any)
packages/zod/src/v4/classic/tests/object.test.ts:762
↓ 1 callers
Function
extend
(incoming)
packages/zod/src/v4/classic/schemas.ts:1704
↓ 1 callers
Function
extractTabsBlocks
(source: string)
packages/docs/content/api.test.ts:53
↓ 1 callers
Function
extractToDef
(entry: [schemas.$ZodType<unknown, unknown>, Seen])
packages/zod/src/v4/core/to-json-schema.ts:364
↓ 1 callers
Function
fail
(r: { error?: unknown })
packages/zod/src/v4/classic/tests/issue-schema.test.ts:9
↓ 1 callers
Function
fallsThrough
True when the locale has no entry for `key`: the message is what the sentinel produces.
packages/zod/src/v4/core/tests/locales/parity.test.ts:23
↓ 1 callers
Function
falsyThenCheckSymbol
(x: any)
packages/bench/instanceof.ts:30
↓ 1 callers
Function
falsyThenCheckTag
(x: any)
packages/bench/instanceof.ts:29
↓ 1 callers
Function
fastPathAcceptsAbsence
(schema: SomeType)
packages/zod/src/v4/core/compile.ts:1402
↓ 1 callers
Function
fetchAdvisories
(repo: string)
scripts/triage-signal.ts:643
↓ 1 callers
Function
fetchAll
(repo: string, kind: "issue" | "pr", page: number)
scripts/triage-signal.ts:310
↓ 1 callers
Function
finalizeLoop
(iss: any, c: any, cfg: any)
packages/bench/error-construction-breakdown.ts:30
↓ 1 callers
Function
finalizeParams
(callee: util.AnyFunc, params: $ParseParams | undefined)
packages/zod/src/v4/core/parse.ts:10
↓ 1 callers
Function
find
(x: number)
scripts/triage-signal.ts:399
↓ 1 callers
Function
findClusters
* Groups open items that appear to address the same thing, so a pile of * near-identical drive-by PRs collapses into one decision.
scripts/triage-signal.ts:396
↓ 1 callers
Function
findIndexJsFiles
* Recursively find all index.d.cts files in a directory
scripts/write-stub-package-jsons.ts:18
↓ 1 callers
Function
fiveKey
(p: string)
packages/bench/memory/compiled-slope.ts:6
↓ 1 callers
Function
fixedBase64
(bodyLength: number, padding: "" | "=" | "==")
packages/zod/src/v4/core/regexes.ts:185
↓ 1 callers
Function
fixedBase64url
(length: number)
packages/zod/src/v4/core/regexes.ts:190
↓ 1 callers
Method
flatten
(mapper: (issue: ZodIssue) => U = (issue: ZodIssue) => issue.message as any)
packages/zod/src/v3/ZodError.ts:308
↓ 1 callers
Function
flattenRef
(zodSchema: schemas.$ZodType)
packages/zod/src/v4/core/to-json-schema.ts:576
↓ 1 callers
Function
floatSafeRemainder
(val: number, step: number)
packages/zod/src/v3/types.ts:1354
↓ 1 callers
Function
fmt
(n: number)
packages/bench/moltar-libs.ts:328
↓ 1 callers
Function
fmt
(n: number)
packages/bench/compile-matrix.ts:271
↓ 1 callers
Function
fmtNs
(n: number)
packages/bench/validate-abort-sweep.ts:220
↓ 1 callers
Function
fmtNs
(n: number)
packages/bench/validate-vs-safeparse.ts:240
↓ 1 callers
Function
foldIntersection
`additionalProperties` in an `allOf` member sees only that member's own `properties`, so two * closed object members reject each other's keys and the
packages/zod/src/v4/core/to-json-schema.ts:541
↓ 1 callers
Function
foldObjects
Combines object members into the single object they describe together, or returns `null` if any of them carries a keyword outside {@link FOLDABLE_KEYS
packages/zod/src/v4/core/to-json-schema.ts:481
↓ 1 callers
Function
formatContributor
(ranges: Record<string, [Bound, Bound]>)
packages/zod/src/v4/core/json-schema-processors.ts:75
↓ 1 callers
Function
formatStars
(count: number)
packages/docs/components/github-star-pill.tsx:22
↓ 1 callers
Function
freshCopies
()
packages/bench/compile-output.ts:81
↓ 1 callers
Function
freshMultiCopies
()
packages/bench/compile-output.ts:255
↓ 1 callers
Function
freshNestedCopies
()
packages/bench/compile-output.ts:198
↓ 1 callers
Function
freshTrimCopies
()
packages/bench/compile-output.ts:136
↓ 1 callers
Function
fromJSONSchema
(schema: JSONSchema.JSONSchema | boolean, params?: FromJSONSchemaParams)
packages/zod/src/v4/classic/from-json-schema.ts:917
↓ 1 callers
Function
fuzz
(r: () => number)
packages/zod/src/v4/core/tests/email-regex.test.ts:91
↓ 1 callers
Function
generate
(rnd: () => number, depth: number)
packages/zod/src/v4/core/tests/compile-differential.test.ts:802
↓ 1 callers
Function
generateArrayCheck
( doc: Doc, ctx: CompileContext, schema: SomeType, accessor: string, buildsValue = true )
packages/zod/src/v4/core/compile.ts:1560
↓ 1 callers
Function
generateBigIntCheck
(doc: Doc, schema: SomeType, accessor: string)
packages/zod/src/v4/core/compile.ts:1142
↓ 1 callers
Function
generateBigIntFormatCheck
(doc: Doc, def: checks.$ZodCheckBigIntFormatDef, accessor: string)
packages/zod/src/v4/core/compile.ts:585
↓ 1 callers
Function
generateBooleanCheck
(doc: Doc, accessor: string)
packages/zod/src/v4/core/compile.ts:1137
↓ 1 callers
Function
generateCatchCheck
(doc: Doc, ctx: CompileContext, schema: SomeType, accessor: string)
packages/zod/src/v4/core/compile.ts:2263
↓ 1 callers
Function
generateChecks
(doc: Doc, ctx: CompileContext, schema: SomeType, accessor: string)
packages/zod/src/v4/core/compile.ts:379
↓ 1 callers
Function
generateCustomCheck
(doc: Doc, ctx: CompileContext, schema: SomeType, accessor: string)
packages/zod/src/v4/core/compile.ts:2229
↓ 1 callers
Function
generateCustomRefineCheck
(doc: Doc, ctx: CompileContext, check: CustomCheck, accessor: string)
packages/zod/src/v4/core/compile.ts:684
↓ 1 callers
Function
generateDateCheck
(doc: Doc, accessor: string)
packages/zod/src/v4/core/compile.ts:1185
↓ 1 callers
Function
generateDefaultCheck
(doc: Doc, ctx: CompileContext, schema: SomeType, accessor: string)
packages/zod/src/v4/core/compile.ts:1638
↓ 1 callers
Function
generateDiscriminatedUnionCheck
( doc: Doc, ctx: CompileContext, def: { options: SomeType[]; discriminator: string; unionFallback?: bool
packages/zod/src/v4/core/compile.ts:1864
↓ 1 callers
Function
generateEnumCheck
(doc: Doc, ctx: CompileContext, schema: SomeType, accessor: string)
packages/zod/src/v4/core/compile.ts:1622
↓ 1 callers
Function
generateExtendChain
(params: GenerateExtendChainParams)
packages/tsc/generate.ts:198
↓ 1 callers
Function
generateFastpass
(shape: any)
packages/zod/src/v4/core/schemas.ts:2282
↓ 1 callers
Function
generateFileCheck
(doc: Doc, accessor: string)
packages/zod/src/v4/core/compile.ts:2142
↓ 1 callers
Function
generateGreaterThanCheck
( doc: Doc, ctx: CompileContext, def: checks.$ZodCheckGreaterThanDef, accessor: string )
packages/zod/src/v4/core/compile.ts:515
↓ 1 callers
Function
generateIntersectionCheck
(doc: Doc, ctx: CompileContext, schema: SomeType, accessor: string)
packages/zod/src/v4/core/compile.ts:1932
↓ 1 callers
Function
generateLazyCheck
(doc: Doc, ctx: CompileContext, schema: SomeType, accessor: string)
packages/zod/src/v4/core/compile.ts:2161
↓ 1 callers
Function
generateLessThanCheck
( doc: Doc, ctx: CompileContext, def: checks.$ZodCheckLessThanDef, accessor: string )
packages/zod/src/v4/core/compile.ts:525
↓ 1 callers
Function
generateLiteralCheck
(doc: Doc, ctx: CompileContext, schema: SomeType, accessor: string)
packages/zod/src/v4/core/compile.ts:1588
↓ 1 callers
Function
generateMapCheck
(doc: Doc, ctx: CompileContext, schema: SomeType, accessor: string)
packages/zod/src/v4/core/compile.ts:2100
↓ 1 callers
Function
generateMimeTypeCheck
( doc: Doc, ctx: CompileContext, def: checks.$ZodCheckMimeTypeDef, accessor: string )
packages/zod/src/v4/core/compile.ts:602
↓ 1 callers
Function
generateMultipleOfCheck
( doc: Doc, ctx: CompileContext, def: checks.$ZodCheckMultipleOfDef, accessor: string )
packages/zod/src/v4/core/compile.ts:535
↓ 1 callers
Function
generateNaNCheck
(doc: Doc, accessor: string)
packages/zod/src/v4/core/compile.ts:1180
↓ 1 callers
Function
generateNonOptionalCheck
(doc: Doc, ctx: CompileContext, schema: SomeType, accessor: string)
packages/zod/src/v4/core/compile.ts:1694
↓ 1 callers
Function
generateNullCheck
(doc: Doc, accessor: string)
packages/zod/src/v4/core/compile.ts:1170
↓ 1 callers
Function
generateNullableCheck
( doc: Doc, ctx: CompileContext, schema: SomeType, accessor: string, buildsValue = true )
packages/zod/src/v4/core/compile.ts:1535
↓ 1 callers
Function
generateNumberCheck
(doc: Doc, schema: SomeType, accessor: string)
packages/zod/src/v4/core/compile.ts:1125
↓ 1 callers
Function
generateObjectCheck
( doc: Doc, ctx: CompileContext, schema: SomeType, accessor: string, buildsValue = true )
packages/zod/src/v4/core/compile.ts:1190
↓ 1 callers
Function
generateOptionalCheck
( doc: Doc, ctx: CompileContext, schema: SomeType, accessor: string, buildsValue = true )
packages/zod/src/v4/core/compile.ts:1346
↓ 1 callers
Function
generateOverwriteCheck
( doc: Doc, ctx: CompileContext, check: checks.$ZodCheckOverwrite, currentAccessor: string, newAcces
packages/zod/src/v4/core/compile.ts:649
↓ 1 callers
Function
generatePipeCheck
(doc: Doc, ctx: CompileContext, schema: SomeType, accessor: string)
packages/zod/src/v4/core/compile.ts:2186
↓ 1 callers
Function
generatePropertiesChecks
( doc: Doc, ctx: CompileContext, def: checks.$ZodCheckPropertiesDef, accessor: string )
packages/zod/src/v4/core/compile.ts:616
↓ 1 callers
Function
generatePropertyCheck
( doc: Doc, ctx: CompileContext, def: checks.$ZodCheckPropertyDef, accessor: string )
packages/zod/src/v4/core/compile.ts:639
↓ 1 callers
Function
generateRecordCheck
(doc: Doc, ctx: CompileContext, schema: SomeType, accessor: string)
packages/zod/src/v4/core/compile.ts:1947
↓ 1 callers
Function
generateRedirects
* * @param {object} idmap * @param {string} page * * @param {string?} origin
packages/docs/next.config.mjs:11
↓ 1 callers
Function
generateSetCheck
(doc: Doc, ctx: CompileContext, schema: SomeType, accessor: string)
packages/zod/src/v4/core/compile.ts:2122
↓ 1 callers
Function
generateStringCheck
( doc: Doc, ctx: CompileContext, schema: SomeType, accessor: string, needsValue = true )
packages/zod/src/v4/core/compile.ts:1110
↓ 1 callers
Function
generateSymbolCheck
(doc: Doc, accessor: string)
packages/zod/src/v4/core/compile.ts:1160
↓ 1 callers
Function
generateTemplateLiteralCheck
(doc: Doc, ctx: CompileContext, schema: SomeType, accessor: string)
packages/zod/src/v4/core/compile.ts:2148
↓ 1 callers
Function
generateTransformCheck
(doc: Doc, ctx: CompileContext, schema: SomeType, accessor: string)
packages/zod/src/v4/core/compile.ts:2294
↓ 1 callers
Function
generateTupleCheck
(doc: Doc, ctx: CompileContext, schema: SomeType, accessor: string)
packages/zod/src/v4/core/compile.ts:1704
↓ 1 callers
Function
generateUndefinedCheck
(doc: Doc, accessor: string)
packages/zod/src/v4/core/compile.ts:1165
↓ 1 callers
Function
generateUnionCheck
(doc: Doc, ctx: CompileContext, schema: SomeType, accessor: string)
packages/zod/src/v4/core/compile.ts:1796
↓ 1 callers
Function
generateVoidCheck
(doc: Doc, accessor: string)
packages/zod/src/v4/core/compile.ts:1175
↓ 1 callers
Function
generateWrapperCheck
(doc: Doc, ctx: CompileContext, schema: SomeType, accessor: string)
packages/zod/src/v4/core/compile.ts:1633
↓ 1 callers
Function
get
(flag: string)
scripts/triage-signal.ts:26
↓ 1 callers
Function
getArmenianPlural
(count: number, one: string, many: string)
packages/zod/src/v4/locales/hy.ts:5
↓ 1 callers
Function
getBelarusianPlural
(count: number, one: string, few: string, many: string)
packages/zod/src/v4/locales/be.ts:5
↓ 1 callers
Function
getDiscriminator
(type: T)
packages/zod/src/v3/types.ts:3067
↓ 1 callers
Function
getEditDistance
(left: string, right: string)
packages/docs/content/api.test.ts:233
↓ 1 callers
Function
getEnumValues
(entries: EnumLike)
packages/zod/src/v4/core/util.ts:276
↓ 1 callers
Function
getIssueProperties
(val: Output)
packages/zod/src/v3/types.ts:335
↓ 1 callers
Function
getRandomInt
(max: number)
packages/zod/src/v3/tests/Mocker.ts:1
↓ 1 callers
Function
getRejectedError
(fn: () => Promise<unknown>)
packages/zod/src/v4/classic/tests/error.test.ts:21
← previous
next →
601–700 of 2,280, ranked by callers