Skip to main content

Function: _isoDateTime()

_isoDateTime<T>(Class, params?): T

Defined in: packages/agentos/node_modules/zod/v4/core/api.d.cts:118

Type Parameters

T

T extends $ZodISODateTime

Parameters

Class

SchemaClass<T>

params?

string |

{ abort?: boolean; error?: string | $ZodErrorMap<$ZodIssueInvalidStringFormat>; local?: boolean; message?: string; offset?: boolean; precision?: number | null; }

abort?

boolean

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

error?

string | $ZodErrorMap<$ZodIssueInvalidStringFormat>

local?

boolean

message?

string

Deprecated

This parameter is deprecated. Use error instead.

offset?

boolean

precision?

number | null

|

{ abort?: boolean; error?: string | $ZodErrorMap<NonNullable<$ZodIssueInvalidType<unknown> | $ZodIssueInvalidStringFormat>>; local?: boolean; message?: string; offset?: boolean; precision?: number | null; }

abort?

boolean

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

error?

string | $ZodErrorMap<NonNullable<$ZodIssueInvalidType<unknown> | $ZodIssueInvalidStringFormat>>

local?

boolean

message?

string

Deprecated

This parameter is deprecated. Use error instead.

offset?

boolean

precision?

number | null

Returns

T