InternalInternalInternalParses 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.
Optional InternaloptinOptional InternaloptoutOptional 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?
Optional InternalpropA set of literal discriminators used for the fast path in discriminated unions.
InternalpatternThis flag indicates that a schema validation can be represented with a regular expression. Used to determine allowable schemas in z.templateLiteral().
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.
InternaloutputThe inferred output type
InternalinputThe inferred input type
Schema definition.
InternalisstThe set of issues this schema might throw during type checking.
Parses input and runs all checks (refinements).