Optional
descriptionOptional
value: TOptional
def: $ZodBigIntDefOptional
params: { parent: boolean }Returns a new instance that has been registered in z.globalRegistry
with the specified description
Optional
params: Optional
abort?: booleanIf true, no later checks will be executed if this check fails. Default false
.
Optional
error?: string | $ZodErrorMap<$ZodIssueTooSmall<Numeric>>Optional
message?: stringOptional
params: Optional
abort?: booleanIf true, no later checks will be executed if this check fails. Default false
.
Optional
error?: string | $ZodErrorMap<$ZodIssueTooSmall<Numeric>>Optional
message?: stringOptional
params: Optional
abort?: booleanIf true, no later checks will be executed if this check fails. Default false
.
Optional
error?: string | $ZodErrorMap<$ZodIssueTooBig<Numeric>>Optional
message?: stringAlias of .lte()
Optional
params: Optional
abort?: booleanIf true, no later checks will be executed if this check fails. Default false
.
Optional
error?: string | $ZodErrorMap<$ZodIssueTooBig<Numeric>>Optional
message?: stringOptional
params: Optional
abort?: booleanIf true, no later checks will be executed if this check fails. Default false
.
Optional
error?: string | $ZodErrorMap<$ZodIssueTooBig<Numeric>>Optional
message?: stringReturns the metadata associated with this instance in z.globalRegistry
Returns a new instance that has been registered in z.globalRegistry
with the specified metadata
Alias of .gte()
Optional
params: Optional
abort?: booleanIf true, no later checks will be executed if this check fails. Default false
.
Optional
error?: string | $ZodErrorMap<$ZodIssueTooSmall<Numeric>>Optional
message?: stringOptional
params: Optional
abort?: booleanIf true, no later checks will be executed if this check fails. Default false
.
Optional
error?: string | $ZodErrorMap<$ZodIssueNotMultipleOf<number | bigint>>Optional
message?: stringOptional
params: Optional
abort?: booleanIf true, no later checks will be executed if this check fails. Default false
.
Optional
error?: string | $ZodErrorMap<$ZodIssueTooBig<Numeric>>Optional
message?: stringOptional
params: Optional
abort?: booleanIf true, no later checks will be executed if this check fails. Default false
.
Optional
error?: string | $ZodErrorMap<$ZodIssueTooSmall<Numeric>>Optional
message?: stringOptional
params: Optional
error?: string | $ZodErrorMap<$ZodIssueInvalidType<unknown>>Optional
message?: stringOptional
params: Optional
abort?: booleanIf true, no later checks will be executed if this check fails. Default false
.
Optional
error?: string | $ZodErrorMap<$ZodIssueTooBig<Numeric>>Optional
message?: stringOptional
params: ParseContext<$ZodIssue>Optional
params: ParseContext<$ZodIssue>Optional
params: Optional
abort?: booleanIf true, no later checks will be executed if this check fails. Default false
.
Optional
error?: string | $ZodErrorMap<$ZodIssueTooSmall<Numeric>>Optional
message?: stringOptional
params: Optional
abort?: booleanIf true, no later checks will be executed if this check fails. Default false
.
Optional
error?: string | $ZodErrorMap<NonNullable<$ZodIssue>>Optional
message?: stringOptional
params?: Record<string, any>Optional
path?: PropertyKey[]Optional
params: ParseContext<$ZodIssue>Optional
params: ParseContext<$ZodIssue>
Deprecated
Use
.def
instead.