Skip to main content

Interface: $ZodNumberInternals<Input>

Defined in: packages/agentos/node_modules/zod/v4/core/schemas.d.cts:384

Internal

Extends

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:390

Internal

A catchall object for bag metadata related to this schema. Commonly modified by checks using onattach.

Overrides

$ZodTypeInternals.bag


constr()

constr: (def) => $ZodType

Defined in: packages/agentos/node_modules/zod/v4/core/schemas.d.cts:69

Internal

The constructor function of this schema.

Parameters

def

any

Returns

$ZodType

Inherited from

$ZodTypeInternals.constr


def

def: $ZodNumberDef

Defined in: packages/agentos/node_modules/zod/v4/core/schemas.d.cts:385

Schema definition.

Overrides

$ZodTypeInternals.def


deferred

deferred: AnyFunc[] | undefined

Defined in: packages/agentos/node_modules/zod/v4/core/schemas.d.cts:42

Internal

List of deferred initializers.

Inherited from

$ZodTypeInternals.deferred


input

input: Input

Defined in: packages/agentos/node_modules/zod/v4/core/schemas.d.cts:86

Internal

The inferred input type

Inherited from

$ZodTypeInternals.input


isst

isst: $ZodIssueInvalidType

Defined in: packages/agentos/node_modules/zod/v4/core/schemas.d.cts:389

Deprecated

Internal API, use with caution (not deprecated)

Overrides

$ZodTypeInternals.isst


optin?

optional optin: "optional"

Defined in: packages/agentos/node_modules/zod/v4/core/schemas.d.cts:53

Internal

Inherited from

$ZodTypeInternals.optin


optout?

optional optout: "optional"

Defined in: packages/agentos/node_modules/zod/v4/core/schemas.d.cts:55

Internal

Inherited from

$ZodTypeInternals.optout


output

output: number

Defined in: packages/agentos/node_modules/zod/v4/core/schemas.d.cts:84

Internal

The inferred output type

Inherited from

$ZodTypeInternals.output


parent?

optional parent: $ZodType<unknown, unknown, $ZodTypeInternals<unknown, unknown>>

Defined in: packages/agentos/node_modules/zod/v4/core/schemas.d.cts:79

Internal

The parent of this schema. Only set during certain clone operations.

Inherited from

$ZodTypeInternals.parent


pattern

pattern: RegExp

Defined in: packages/agentos/node_modules/zod/v4/core/schemas.d.cts:387

Deprecated

Internal API, use with caution (not deprecated)

Overrides

$ZodTypeInternals.pattern


processJSONSchema()?

optional processJSONSchema: (ctx, json, params) => void

Defined in: packages/agentos/node_modules/zod/v4/core/schemas.d.cts:75

Internal

Subject to change, not a public API.

Parameters

ctx

ToJSONSchemaContext

json

JSONSchema

params

ProcessParams

Returns

void

Inherited from

$ZodTypeInternals.processJSONSchema


propValues?

optional propValues: PropValues

Defined in: packages/agentos/node_modules/zod/v4/core/schemas.d.cts:65

Internal

A set of literal discriminators used for the fast path in discriminated unions.

Inherited from

$ZodTypeInternals.propValues


toJSONSchema()?

optional toJSONSchema: () => unknown

Defined in: packages/agentos/node_modules/zod/v4/core/schemas.d.cts:77

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:48

Internal

Stores identifiers for the set of traits implemented by this schema.

Inherited from

$ZodTypeInternals.traits


values?

optional values: PrimitiveSet

Defined in: packages/agentos/node_modules/zod/v4/core/schemas.d.cts:62

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

$ZodTypeInternals.values


version

version: object

Defined in: packages/agentos/node_modules/zod/v4/core/schemas.d.cts:37

The @zod/core version of this schema

major

readonly major: 4

minor

readonly minor: 4

patch

readonly patch: number

Inherited from

$ZodTypeInternals.version

Methods

parse()

parse(payload, ctx): MaybeAsync<ParsePayload<unknown>>

Defined in: packages/agentos/node_modules/zod/v4/core/schemas.d.cts:46

Internal

Parses input, doesn't run checks.

Parameters

payload

ParsePayload<any>

ctx

ParseContextInternal

Returns

MaybeAsync<ParsePayload<unknown>>

Inherited from

$ZodTypeInternals.parse


run()

run(payload, ctx): MaybeAsync<ParsePayload<unknown>>

Defined in: packages/agentos/node_modules/zod/v4/core/schemas.d.cts:44

Internal

Parses input and runs all checks (refinements).

Parameters

payload

ParsePayload<any>

ctx

ParseContextInternal

Returns

MaybeAsync<ParsePayload<unknown>>

Inherited from

$ZodTypeInternals.run