Skip to main content

Interface: ZodBigInt

Defined in: packages/agentos/node_modules/zod/v4/classic/schemas.d.cts:414

Extends​

Extended by​

Properties​

_def​

_def: $ZodBigIntDef

Defined in: packages/agentos/node_modules/zod/v4/classic/schemas.d.cts:11

Deprecated​

Use .def instead.

Inherited from​

_ZodBigInt._def


_input​

_input: bigint

Defined in: packages/agentos/node_modules/zod/v4/classic/schemas.d.cts:15

Deprecated​

Use z.input<typeof schema> instead.

Inherited from​

_ZodBigInt._input


_output​

_output: bigint

Defined in: packages/agentos/node_modules/zod/v4/classic/schemas.d.cts:13

Deprecated​

Use z.output<typeof schema> instead.

Inherited from​

_ZodBigInt._output


_zod​

_zod: $ZodBigIntInternals

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

Inherited from​

_ZodBigInt._zod


~standard​

~standard: ZodStandardSchemaWithJSON<ZodBigInt>

Defined in: packages/agentos/node_modules/zod/v4/classic/schemas.d.cts:16

Inherited from​

_ZodBigInt.~standard


def​

def: $ZodBigIntDef

Defined in: packages/agentos/node_modules/zod/v4/classic/schemas.d.cts:8

Inherited from​

_ZodBigInt.def


description?​

optional description: string

Defined in: packages/agentos/node_modules/zod/v4/classic/schemas.d.cts:63

Inherited from​

_ZodBigInt.description


format​

format: string | null

Defined in: packages/agentos/node_modules/zod/v4/classic/schemas.d.cts:412

Inherited from​

_ZodBigInt.format


maxValue​

maxValue: bigint | null

Defined in: packages/agentos/node_modules/zod/v4/classic/schemas.d.cts:411

Inherited from​

_ZodBigInt.maxValue


minValue​

minValue: bigint | null

Defined in: packages/agentos/node_modules/zod/v4/classic/schemas.d.cts:410

Inherited from​

_ZodBigInt.minValue


spa()​

spa: (data, params?) => Promise<ZodSafeParseResult<bigint>>

Defined in: packages/agentos/node_modules/zod/v4/classic/schemas.d.cts:30

Parameters​

data​

unknown

params?​

ParseContext<$ZodIssue>

Returns​

Promise<ZodSafeParseResult<bigint>>

Inherited from​

_ZodBigInt.spa


type​

type: "bigint"

Defined in: packages/agentos/node_modules/zod/v4/classic/schemas.d.cts:9

Inherited from​

_ZodBigInt.type

Methods​

and()​

and<T>(incoming): ZodIntersection<ZodBigInt, T>

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

Type Parameters​

T​

T extends SomeType

Parameters​

incoming​

T

Returns​

ZodIntersection<ZodBigInt, T>

Inherited from​

_ZodBigInt.and


apply()​

apply<T, TArgs>(fn, ...args): T

Defined in: packages/agentos/node_modules/zod/v4/classic/schemas.d.cts:85

Type Parameters​

T​

T

TArgs​

TArgs extends unknown[] = []

Parameters​

fn​

(schema, ...args) => T

args​

...TArgs

Returns​

T

Inherited from​

_ZodBigInt.apply


array()​

array(): ZodArray<ZodBigInt>

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

Returns​

ZodArray<ZodBigInt>

Inherited from​

_ZodBigInt.array


brand()​

brand<T, Dir>(value?): PropertyKey extends T ? ZodBigInt : $ZodBranded<ZodBigInt, T, Dir>

Defined in: packages/agentos/node_modules/zod/v4/classic/schemas.d.cts:25

Type Parameters​

T​

T extends PropertyKey = PropertyKey

Dir​

Dir extends "inout" | "in" | "out" = "out"

Parameters​

value?​

T

Returns​

PropertyKey extends T ? ZodBigInt : $ZodBranded<ZodBigInt, T, Dir>

Inherited from​

_ZodBigInt.brand


catch()​

Call Signature​

catch(def): ZodCatch<ZodBigInt>

Defined in: packages/agentos/node_modules/zod/v4/classic/schemas.d.cts:57

Parameters​
def​

bigint

Returns​

ZodCatch<ZodBigInt>

Inherited from​

_ZodBigInt.catch

Call Signature​

catch(def): ZodCatch<ZodBigInt>

Defined in: packages/agentos/node_modules/zod/v4/classic/schemas.d.cts:58

Parameters​
def​

(ctx) => bigint

Returns​

ZodCatch<ZodBigInt>

Inherited from​

_ZodBigInt.catch


check()​

check(...checks): this

Defined in: packages/agentos/node_modules/zod/v4/classic/schemas.d.cts:19

Parameters​

checks​

...(CheckFn<bigint> | $ZodCheck<bigint>)[]

Returns​

this

Inherited from​

_ZodBigInt.check


clone()​

clone(def?, params?): this

Defined in: packages/agentos/node_modules/zod/v4/classic/schemas.d.cts:21

Parameters​

def?​

$ZodBigIntDef

params?​
parent​

boolean

Returns​

this

Inherited from​

_ZodBigInt.clone


decode()​

decode(data, params?): bigint

Defined in: packages/agentos/node_modules/zod/v4/classic/schemas.d.cts:34

Parameters​

data​

bigint

params?​

ParseContext<$ZodIssue>

Returns​

bigint

Inherited from​

_ZodBigInt.decode


decodeAsync()​

decodeAsync(data, params?): Promise<bigint>

Defined in: packages/agentos/node_modules/zod/v4/classic/schemas.d.cts:36

Parameters​

data​

bigint

params?​

ParseContext<$ZodIssue>

Returns​

Promise<bigint>

Inherited from​

_ZodBigInt.decodeAsync


default()​

Call Signature​

default(def): ZodDefault<ZodBigInt>

Defined in: packages/agentos/node_modules/zod/v4/classic/schemas.d.cts:49

Parameters​
def​

bigint

Returns​

ZodDefault<ZodBigInt>

Inherited from​

_ZodBigInt.default

Call Signature​

default(def): ZodDefault<ZodBigInt>

Defined in: packages/agentos/node_modules/zod/v4/classic/schemas.d.cts:50

Parameters​
def​

() => bigint

Returns​

ZodDefault<ZodBigInt>

Inherited from​

_ZodBigInt.default


describe()​

describe(description): this

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

Returns a new instance that has been registered in z.globalRegistry with the specified description

Parameters​

description​

string

Returns​

this

Inherited from​

_ZodBigInt.describe


encode()​

encode(data, params?): bigint

Defined in: packages/agentos/node_modules/zod/v4/classic/schemas.d.cts:33

Parameters​

data​

bigint

params?​

ParseContext<$ZodIssue>

Returns​

bigint

Inherited from​

_ZodBigInt.encode


encodeAsync()​

encodeAsync(data, params?): Promise<bigint>

Defined in: packages/agentos/node_modules/zod/v4/classic/schemas.d.cts:35

Parameters​

data​

bigint

params?​

ParseContext<$ZodIssue>

Returns​

Promise<bigint>

Inherited from​

_ZodBigInt.encodeAsync


exactOptional()​

exactOptional(): ZodExactOptional<ZodBigInt>

Defined in: packages/agentos/node_modules/zod/v4/classic/schemas.d.cts:45

Returns​

ZodExactOptional<ZodBigInt>

Inherited from​

_ZodBigInt.exactOptional


gt()​

gt(value, params?): this

Defined in: packages/agentos/node_modules/zod/v4/classic/schemas.d.cts:400

Parameters​

value​

bigint

params?​

string |

{ abort?: boolean; error?: string | $ZodErrorMap<$ZodIssueTooSmall<Numeric>>; message?: string; }

abort?​

boolean

If true, no later checks will be executed if this check fails. Default false.

error?​

string | $ZodErrorMap<$ZodIssueTooSmall<Numeric>>

message?​

string

Deprecated

This parameter is deprecated. Use error instead.

Returns​

this

Inherited from​

_ZodBigInt.gt


gte()​

gte(value, params?): this

Defined in: packages/agentos/node_modules/zod/v4/classic/schemas.d.cts:397

Parameters​

value​

bigint

params?​

string |

{ abort?: boolean; error?: string | $ZodErrorMap<$ZodIssueTooSmall<Numeric>>; message?: string; }

abort?​

boolean

If true, no later checks will be executed if this check fails. Default false.

error?​

string | $ZodErrorMap<$ZodIssueTooSmall<Numeric>>

message?​

string

Deprecated

This parameter is deprecated. Use error instead.

Returns​

this

Inherited from​

_ZodBigInt.gte


isNullable()​

isNullable(): boolean

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

Returns​

boolean

Deprecated​

Try safe-parsing null (this is what isNullable does internally):

const schema = z.string().nullable();
const isNullable = schema.safeParse(null).success; // true

Inherited from​

_ZodBigInt.isNullable


isOptional()​

isOptional(): boolean

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

Returns​

boolean

Deprecated​

Try safe-parsing undefined (this is what isOptional does internally):

const schema = z.string().optional();
const isOptional = schema.safeParse(undefined).success; // true

Inherited from​

_ZodBigInt.isOptional


lt()​

lt(value, params?): this

Defined in: packages/agentos/node_modules/zod/v4/classic/schemas.d.cts:404

Parameters​

value​

bigint

params?​

string |

{ abort?: boolean; error?: string | $ZodErrorMap<$ZodIssueTooBig<Numeric>>; message?: string; }

abort?​

boolean

If true, no later checks will be executed if this check fails. Default false.

error?​

string | $ZodErrorMap<$ZodIssueTooBig<Numeric>>

message?​

string

Deprecated

This parameter is deprecated. Use error instead.

Returns​

this

Inherited from​

_ZodBigInt.lt


lte()​

lte(value, params?): this

Defined in: packages/agentos/node_modules/zod/v4/classic/schemas.d.cts:402

Alias of .lte()

Parameters​

value​

bigint

params?​

string |

{ abort?: boolean; error?: string | $ZodErrorMap<$ZodIssueTooBig<Numeric>>; message?: string; }

abort?​

boolean

If true, no later checks will be executed if this check fails. Default false.

error?​

string | $ZodErrorMap<$ZodIssueTooBig<Numeric>>

message?​

string

Deprecated

This parameter is deprecated. Use error instead.

Returns​

this

Inherited from​

_ZodBigInt.lte


max()​

max(value, params?): this

Defined in: packages/agentos/node_modules/zod/v4/classic/schemas.d.cts:403

Parameters​

value​

bigint

params?​

string |

{ abort?: boolean; error?: string | $ZodErrorMap<$ZodIssueTooBig<Numeric>>; message?: string; }

abort?​

boolean

If true, no later checks will be executed if this check fails. Default false.

error?​

string | $ZodErrorMap<$ZodIssueTooBig<Numeric>>

message?​

string

Deprecated

This parameter is deprecated. Use error instead.

Returns​

this

Inherited from​

_ZodBigInt.max


meta()​

Call Signature​

meta(): {[key: string]: unknown; deprecated?: boolean; description?: string; id?: string; title?: string; } | undefined

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

Returns the metadata associated with this instance in z.globalRegistry

Returns​

{[key: string]: unknown; deprecated?: boolean; description?: string; id?: string; title?: string; } | undefined

Inherited from​

_ZodBigInt.meta

Call Signature​

meta(data): this

Defined in: packages/agentos/node_modules/zod/v4/classic/schemas.d.cts:67

Returns a new instance that has been registered in z.globalRegistry with the specified metadata

Parameters​
data​
deprecated?​

boolean

description?​

string

id?​

string

title?​

string

Returns​

this

Inherited from​

_ZodBigInt.meta


min()​

min(value, params?): this

Defined in: packages/agentos/node_modules/zod/v4/classic/schemas.d.cts:399

Alias of .gte()

Parameters​

value​

bigint

params?​

string |

{ abort?: boolean; error?: string | $ZodErrorMap<$ZodIssueTooSmall<Numeric>>; message?: string; }

abort?​

boolean

If true, no later checks will be executed if this check fails. Default false.

error?​

string | $ZodErrorMap<$ZodIssueTooSmall<Numeric>>

message?​

string

Deprecated

This parameter is deprecated. Use error instead.

Returns​

this

Inherited from​

_ZodBigInt.min


multipleOf()​

multipleOf(value, params?): this

Defined in: packages/agentos/node_modules/zod/v4/classic/schemas.d.cts:409

Parameters​

value​

bigint

params?​

string |

{ abort?: boolean; error?: string | $ZodErrorMap<$ZodIssueNotMultipleOf<number | bigint>>; message?: string; }

abort?​

boolean

If true, no later checks will be executed if this check fails. Default false.

error?​

string | $ZodErrorMap<$ZodIssueNotMultipleOf<number | bigint>>

message?​

string

Deprecated

This parameter is deprecated. Use error instead.

Returns​

this

Inherited from​

_ZodBigInt.multipleOf


negative()​

negative(params?): this

Defined in: packages/agentos/node_modules/zod/v4/classic/schemas.d.cts:406

Parameters​

params?​

string |

{ abort?: boolean; error?: string | $ZodErrorMap<$ZodIssueTooBig<Numeric>>; message?: string; }

abort?​

boolean

If true, no later checks will be executed if this check fails. Default false.

error?​

string | $ZodErrorMap<$ZodIssueTooBig<Numeric>>

message?​

string

Deprecated

This parameter is deprecated. Use error instead.

Returns​

this

Inherited from​

_ZodBigInt.negative


nonnegative()​

nonnegative(params?): this

Defined in: packages/agentos/node_modules/zod/v4/classic/schemas.d.cts:408

Parameters​

params?​

string |

{ abort?: boolean; error?: string | $ZodErrorMap<$ZodIssueTooSmall<Numeric>>; message?: string; }

abort?​

boolean

If true, no later checks will be executed if this check fails. Default false.

error?​

string | $ZodErrorMap<$ZodIssueTooSmall<Numeric>>

message?​

string

Deprecated

This parameter is deprecated. Use error instead.

Returns​

this

Inherited from​

_ZodBigInt.nonnegative


nonoptional()​

nonoptional(params?): ZodNonOptional<ZodBigInt>

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

Parameters​

params?​

string |

{ error?: string | $ZodErrorMap<$ZodIssueInvalidType<unknown>>; message?: string; }

error?​

string | $ZodErrorMap<$ZodIssueInvalidType<unknown>>

message?​

string

Deprecated

This parameter is deprecated. Use error instead.

Returns​

ZodNonOptional<ZodBigInt>

Inherited from​

_ZodBigInt.nonoptional


nonpositive()​

nonpositive(params?): this

Defined in: packages/agentos/node_modules/zod/v4/classic/schemas.d.cts:407

Parameters​

params?​

string |

{ abort?: boolean; error?: string | $ZodErrorMap<$ZodIssueTooBig<Numeric>>; message?: string; }

abort?​

boolean

If true, no later checks will be executed if this check fails. Default false.

error?​

string | $ZodErrorMap<$ZodIssueTooBig<Numeric>>

message?​

string

Deprecated

This parameter is deprecated. Use error instead.

Returns​

this

Inherited from​

_ZodBigInt.nonpositive


nullable()​

nullable(): ZodNullable<ZodBigInt>

Defined in: packages/agentos/node_modules/zod/v4/classic/schemas.d.cts:47

Returns​

ZodNullable<ZodBigInt>

Inherited from​

_ZodBigInt.nullable


nullish()​

nullish(): ZodOptional<ZodNullable<ZodBigInt>>

Defined in: packages/agentos/node_modules/zod/v4/classic/schemas.d.cts:48

Returns​

ZodOptional<ZodNullable<ZodBigInt>>

Inherited from​

_ZodBigInt.nullish


optional()​

optional(): ZodOptional<ZodBigInt>

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

Returns​

ZodOptional<ZodBigInt>

Inherited from​

_ZodBigInt.optional


or()​

or<T>(option): ZodUnion<[ZodBigInt, T]>

Defined in: packages/agentos/node_modules/zod/v4/classic/schemas.d.cts:54

Type Parameters​

T​

T extends SomeType

Parameters​

option​

T

Returns​

ZodUnion<[ZodBigInt, T]>

Inherited from​

_ZodBigInt.or


overwrite()​

overwrite(fn): this

Defined in: packages/agentos/node_modules/zod/v4/classic/schemas.d.cts:43

Parameters​

fn​

(x) => bigint

Returns​

this

Inherited from​

_ZodBigInt.overwrite


parse()​

parse(data, params?): bigint

Defined in: packages/agentos/node_modules/zod/v4/classic/schemas.d.cts:26

Parameters​

data​

unknown

params?​

ParseContext<$ZodIssue>

Returns​

bigint

Inherited from​

_ZodBigInt.parse


parseAsync()​

parseAsync(data, params?): Promise<bigint>

Defined in: packages/agentos/node_modules/zod/v4/classic/schemas.d.cts:28

Parameters​

data​

unknown

params?​

ParseContext<$ZodIssue>

Returns​

Promise<bigint>

Inherited from​

_ZodBigInt.parseAsync


pipe()​

pipe<T>(target): ZodPipe<ZodBigInt, T>

Defined in: packages/agentos/node_modules/zod/v4/classic/schemas.d.cts:59

Type Parameters​

T​

T extends $ZodType<any, bigint, $ZodTypeInternals<any, bigint>>

Parameters​

target​

T | $ZodType<any, bigint, $ZodTypeInternals<any, bigint>>

Returns​

ZodPipe<ZodBigInt, T>

Inherited from​

_ZodBigInt.pipe


positive()​

positive(params?): this

Defined in: packages/agentos/node_modules/zod/v4/classic/schemas.d.cts:405

Parameters​

params?​

string |

{ abort?: boolean; error?: string | $ZodErrorMap<$ZodIssueTooSmall<Numeric>>; message?: string; }

abort?​

boolean

If true, no later checks will be executed if this check fails. Default false.

error?​

string | $ZodErrorMap<$ZodIssueTooSmall<Numeric>>

message?​

string

Deprecated

This parameter is deprecated. Use error instead.

Returns​

this

Inherited from​

_ZodBigInt.positive


prefault()​

Call Signature​

prefault(def): ZodPrefault<ZodBigInt>

Defined in: packages/agentos/node_modules/zod/v4/classic/schemas.d.cts:51

Parameters​
def​

() => bigint

Returns​

ZodPrefault<ZodBigInt>

Inherited from​

_ZodBigInt.prefault

Call Signature​

prefault(def): ZodPrefault<ZodBigInt>

Defined in: packages/agentos/node_modules/zod/v4/classic/schemas.d.cts:52

Parameters​
def​

bigint

Returns​

ZodPrefault<ZodBigInt>

Inherited from​

_ZodBigInt.prefault


readonly()​

readonly(): ZodReadonly<ZodBigInt>

Defined in: packages/agentos/node_modules/zod/v4/classic/schemas.d.cts:60

Returns​

ZodReadonly<ZodBigInt>

Inherited from​

_ZodBigInt.readonly


refine()​

refine<Ch>(check, params?): Ch extends (arg) => arg is R ? ZodBigInt & ZodType<R, bigint, $ZodTypeInternals<R, bigint>> : ZodBigInt

Defined in: packages/agentos/node_modules/zod/v4/classic/schemas.d.cts:41

Type Parameters​

Ch​

Ch extends (arg) => unknown

Parameters​

check​

Ch

params?​

string |

{ abort?: boolean; error?: string | $ZodErrorMap<NonNullable<$ZodIssue>>; message?: string; params?: Record<string, any>; path?: PropertyKey[]; when?: (payload) => boolean; }

abort?​

boolean

If true, no later checks will be executed if this check fails. Default false.

error?​

string | $ZodErrorMap<NonNullable<$ZodIssue>>

message?​

string

Deprecated

This parameter is deprecated. Use error instead.

params?​

Record<string, any>

path?​

PropertyKey[]

when?​

(payload) => boolean

If provided, the check runs only when this returns true. By default, it is skipped if prior parsing produced aborting issues.

Returns​

Ch extends (arg) => arg is R ? ZodBigInt & ZodType<R, bigint, $ZodTypeInternals<R, bigint>> : ZodBigInt

Inherited from​

_ZodBigInt.refine


register()​

register<R>(registry, ...meta): this

Defined in: packages/agentos/node_modules/zod/v4/classic/schemas.d.cts:24

Type Parameters​

R​

R extends $ZodRegistry<MetadataType, $ZodType<unknown, unknown, $ZodTypeInternals<unknown, unknown>>>

Parameters​

registry​

R

meta​

...ZodBigInt extends R["_schema"] ? undefined extends R["_meta"] ? [$replace<R["_meta"], R["_schema"] & ZodBigInt>?] : [$replace<R["_meta"], R["_schema"] & ZodBigInt>] : ["Incompatible schema"]

Returns​

this

Inherited from​

_ZodBigInt.register


safeDecode()​

safeDecode(data, params?): ZodSafeParseResult<bigint>

Defined in: packages/agentos/node_modules/zod/v4/classic/schemas.d.cts:38

Parameters​

data​

bigint

params?​

ParseContext<$ZodIssue>

Returns​

ZodSafeParseResult<bigint>

Inherited from​

_ZodBigInt.safeDecode


safeDecodeAsync()​

safeDecodeAsync(data, params?): Promise<ZodSafeParseResult<bigint>>

Defined in: packages/agentos/node_modules/zod/v4/classic/schemas.d.cts:40

Parameters​

data​

bigint

params?​

ParseContext<$ZodIssue>

Returns​

Promise<ZodSafeParseResult<bigint>>

Inherited from​

_ZodBigInt.safeDecodeAsync


safeEncode()​

safeEncode(data, params?): ZodSafeParseResult<bigint>

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

Parameters​

data​

bigint

params?​

ParseContext<$ZodIssue>

Returns​

ZodSafeParseResult<bigint>

Inherited from​

_ZodBigInt.safeEncode


safeEncodeAsync()​

safeEncodeAsync(data, params?): Promise<ZodSafeParseResult<bigint>>

Defined in: packages/agentos/node_modules/zod/v4/classic/schemas.d.cts:39

Parameters​

data​

bigint

params?​

ParseContext<$ZodIssue>

Returns​

Promise<ZodSafeParseResult<bigint>>

Inherited from​

_ZodBigInt.safeEncodeAsync


safeParse()​

safeParse(data, params?): ZodSafeParseResult<bigint>

Defined in: packages/agentos/node_modules/zod/v4/classic/schemas.d.cts:27

Parameters​

data​

unknown

params?​

ParseContext<$ZodIssue>

Returns​

ZodSafeParseResult<bigint>

Inherited from​

_ZodBigInt.safeParse


safeParseAsync()​

safeParseAsync(data, params?): Promise<ZodSafeParseResult<bigint>>

Defined in: packages/agentos/node_modules/zod/v4/classic/schemas.d.cts:29

Parameters​

data​

unknown

params?​

ParseContext<$ZodIssue>

Returns​

Promise<ZodSafeParseResult<bigint>>

Inherited from​

_ZodBigInt.safeParseAsync


superRefine()​

superRefine(refinement, params?): this

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

Parameters​

refinement​

(arg, ctx) => void | Promise<void>

params?​

$ZodSuperRefineParams

Returns​

this

Inherited from​

_ZodBigInt.superRefine


toJSONSchema()​

toJSONSchema(params?): ZodStandardJSONSchemaPayload<ZodBigInt>

Defined in: packages/agentos/node_modules/zod/v4/classic/schemas.d.cts:18

Converts this schema to a JSON Schema representation.

Parameters​

params?​

ToJSONSchemaParams

Returns​

ZodStandardJSONSchemaPayload<ZodBigInt>

Inherited from​

_ZodBigInt.toJSONSchema


transform()​

transform<NewOut>(transform): ZodPipe<ZodBigInt, ZodTransform<Awaited<NewOut>, bigint>>

Defined in: packages/agentos/node_modules/zod/v4/classic/schemas.d.cts:56

Type Parameters​

NewOut​

NewOut

Parameters​

transform​

(arg, ctx) => NewOut | Promise<NewOut>

Returns​

ZodPipe<ZodBigInt, ZodTransform<Awaited<NewOut>, bigint>>

Inherited from​

_ZodBigInt.transform


validate()​

validate(data, params?): data is bigint

Defined in: packages/agentos/node_modules/zod/v4/classic/schemas.d.cts:31

Parameters​

data​

unknown

params?​

ParseContext<$ZodIssue>

Returns​

data is bigint

Inherited from​

_ZodBigInt.validate


validateAsync()​

validateAsync(data, params?): Promise<boolean>

Defined in: packages/agentos/node_modules/zod/v4/classic/schemas.d.cts:32

Parameters​

data​

unknown

params?​

ParseContext<$ZodIssue>

Returns​

Promise<boolean>

Inherited from​

_ZodBigInt.validateAsync


with()​

with(...checks): this

Defined in: packages/agentos/node_modules/zod/v4/classic/schemas.d.cts:20

Parameters​

checks​

...(CheckFn<bigint> | $ZodCheck<bigint>)[]

Returns​

this

Inherited from​

_ZodBigInt.with