Interface: $ZodNumberInternals<Input>
Defined in: packages/agentos/node_modules/zod/v4/core/schemas.d.cts:389
Internal
Extends
$ZodTypeInternals<number,Input>
Extended by
Type Parameters
Input
Input = unknown
Properties
bag
bag:
LoosePartial<{exclusiveMaximum:number;exclusiveMinimum:number;format:string;maximum:number;minimum:number;pattern:RegExp; }>
Defined in: packages/agentos/node_modules/zod/v4/core/schemas.d.cts:395
Internal
A catchall object for bag metadata related to this schema. Commonly modified by checks using onattach.
Overrides
constr()
constr: (
def) =>$ZodType
Defined in: packages/agentos/node_modules/zod/v4/core/schemas.d.cts:74
Internal
The constructor function of this schema.
Parameters
def
any
Returns
Inherited from
def
def:
$ZodNumberDef
Defined in: packages/agentos/node_modules/zod/v4/core/schemas.d.cts:390
Schema definition.
Overrides
deferred
deferred:
AnyFunc[] |undefined
Defined in: packages/agentos/node_modules/zod/v4/core/schemas.d.cts:47
Internal
List of deferred initializers.
Inherited from
input
input:
Input
Defined in: packages/agentos/node_modules/zod/v4/core/schemas.d.cts:91
Internal
The inferred input type
Inherited from
isst
isst:
$ZodIssueInvalidType
Defined in: packages/agentos/node_modules/zod/v4/core/schemas.d.cts:394
Deprecated
Internal API, use with caution (not deprecated)
Overrides
optin?
optionaloptin:"optional"
Defined in: packages/agentos/node_modules/zod/v4/core/schemas.d.cts:58
Internal
Inherited from
optout?
optionaloptout:"optional"
Defined in: packages/agentos/node_modules/zod/v4/core/schemas.d.cts:60
Internal
Inherited from
output
output:
number
Defined in: packages/agentos/node_modules/zod/v4/core/schemas.d.cts:89
Internal
The inferred output type
Inherited from
parent?
optionalparent:$ZodType<unknown,unknown,$ZodTypeInternals<unknown,unknown>>
Defined in: packages/agentos/node_modules/zod/v4/core/schemas.d.cts:84
Internal
The parent of this schema. Only set during certain clone operations.
Inherited from
pattern
pattern:
RegExp
Defined in: packages/agentos/node_modules/zod/v4/core/schemas.d.cts:392
Deprecated
Internal API, use with caution (not deprecated)
Overrides
processJSONSchema()?
optionalprocessJSONSchema: (ctx,json,params) =>void
Defined in: packages/agentos/node_modules/zod/v4/core/schemas.d.cts:80
Internal
Subject to change, not a public API.
Parameters
ctx
json
params
Returns
void
Inherited from
$ZodTypeInternals.processJSONSchema
propValues?
optionalpropValues:PropValues
Defined in: packages/agentos/node_modules/zod/v4/core/schemas.d.cts:70
Internal
A set of literal discriminators used for the fast path in discriminated unions.
Inherited from
toJSONSchema()?
optionaltoJSONSchema: () =>unknown
Defined in: packages/agentos/node_modules/zod/v4/core/schemas.d.cts:82
An optional method used to override toJSONSchema logic.
Returns
unknown
Inherited from
$ZodTypeInternals.toJSONSchema
traits
traits:
Set<string>
Defined in: packages/agentos/node_modules/zod/v4/core/schemas.d.cts:53
Internal
Stores identifiers for the set of traits implemented by this schema.
Inherited from
values?
optionalvalues:PrimitiveSet
Defined in: packages/agentos/node_modules/zod/v4/core/schemas.d.cts:67
Internal
The 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?
Inherited from
version
version:
object
Defined in: packages/agentos/node_modules/zod/v4/core/schemas.d.cts:42
The @zod/core version of this schema
major
readonlymajor:4
minor
readonlyminor:4
patch
readonlypatch:number
Inherited from
Methods
parse()
parse(
payload,ctx):MaybeAsync<ParsePayload<unknown>>
Defined in: packages/agentos/node_modules/zod/v4/core/schemas.d.cts:51
Internal
Parses input, doesn't run checks.
Parameters
payload
ParsePayload<any>
ctx
Returns
MaybeAsync<ParsePayload<unknown>>
Inherited from
run()
run(
payload,ctx):MaybeAsync<ParsePayload<unknown>>
Defined in: packages/agentos/node_modules/zod/v4/core/schemas.d.cts:49
Internal
Parses input and runs all checks (refinements).
Parameters
payload
ParsePayload<any>
ctx
Returns
MaybeAsync<ParsePayload<unknown>>