InternalInternalParses input, doesn't run checks.
The @zod/core version of this schema
InternaldeferredList of deferred initializers.
InternaltraitsStores identifiers for the set of traits implemented by this schema.
InternalconstrThe constructor function of this schema.
InternalbagA catchall object for bag metadata related to this schema. Commonly modified by checks using onattach.
OptionaltoAn optional method used to override toJSONSchema logic.
Optional InternalparentThe parent of this schema. Only set during certain clone operations.
InternalisstThe set of issues this schema might throw during type checking.
InternalpatternThis flag indicates that a schema validation can be represented with a regular expression. Used to determine allowable schemas in z.templateLiteral().
InternalvaluesThe set of literal values that will pass validation. Must be an exhaustive set. Used to determine optionality in z.record().
Defined on: enum, const, literal, null, undefined Passthrough: optional, nullable, branded, default, catch, pipe Todo: unions?
InternaloptinInternaloptoutSchema definition.
InternalpropA set of literal discriminators used for the fast path in discriminated unions.
Parses input and runs all checks (refinements).