Interface: ZodCoercedBoolean<T>
Defined in: packages/agentos/node_modules/zod/v4/classic/coerce.d.cts:9
Extends
Type Parameters
T
T = unknown
Properties
_def
_def:
$ZodBooleanDef
Defined in: packages/agentos/node_modules/zod/v4/classic/schemas.d.cts:10
Deprecated
Use .def instead.
Inherited from
_input
_input:
T
Defined in: packages/agentos/node_modules/zod/v4/classic/schemas.d.cts:14
Deprecated
Use z.input<typeof schema> instead.
Inherited from
_output
_output:
boolean
Defined in: packages/agentos/node_modules/zod/v4/classic/schemas.d.cts:12
Deprecated
Use z.output<typeof schema> instead.
Inherited from
_zod
_zod:
$ZodBooleanInternals
Defined in: packages/agentos/node_modules/zod/v4/core/schemas.d.cts:93
Inherited from
~standard
~standard:
ZodStandardSchemaWithJSON<ZodCoercedBoolean<T>>
Defined in: packages/agentos/node_modules/zod/v4/classic/schemas.d.cts:15
Inherited from
def
def:
$ZodBooleanDef
Defined in: packages/agentos/node_modules/zod/v4/classic/schemas.d.cts:7
Inherited from
description?
optionaldescription:string
Defined in: packages/agentos/node_modules/zod/v4/classic/schemas.d.cts:60
Inherited from
spa()
spa: (
data,params?) =>Promise<ZodSafeParseResult<boolean>>
Defined in: packages/agentos/node_modules/zod/v4/classic/schemas.d.cts:29
Parameters
data
unknown
params?
Returns
Promise<ZodSafeParseResult<boolean>>
Inherited from
type
type:
"boolean"
Defined in: packages/agentos/node_modules/zod/v4/classic/schemas.d.cts:8
Inherited from
Methods
and()
and<
T>(incoming):ZodIntersection<ZodCoercedBoolean<T>,T>
Defined in: packages/agentos/node_modules/zod/v4/classic/schemas.d.cts:52
Type Parameters
T
T extends SomeType
Parameters
incoming
T
Returns
ZodIntersection<ZodCoercedBoolean<T>, T>
Inherited from
apply()
apply<
T>(fn):T
Defined in: packages/agentos/node_modules/zod/v4/classic/schemas.d.cts:82
Type Parameters
T
T
Parameters
fn
(schema) => T
Returns
T
Inherited from
array()
array():
ZodArray<ZodCoercedBoolean<T>>
Defined in: packages/agentos/node_modules/zod/v4/classic/schemas.d.cts:50
Returns
ZodArray<ZodCoercedBoolean<T>>
Inherited from
brand()
brand<
T,Dir>(value?):PropertyKeyextendsT?ZodCoercedBoolean<T> :$ZodBranded<ZodCoercedBoolean<T>,T,Dir>
Defined in: packages/agentos/node_modules/zod/v4/classic/schemas.d.cts:24
Type Parameters
T
T extends PropertyKey = PropertyKey
Dir
Dir extends "inout" | "in" | "out" = "out"
Parameters
value?
T
Returns
PropertyKey extends T ? ZodCoercedBoolean<T> : $ZodBranded<ZodCoercedBoolean<T>, T, Dir>
Inherited from
catch()
Call Signature
catch(
def):ZodCatch<ZodCoercedBoolean<T>>
Defined in: packages/agentos/node_modules/zod/v4/classic/schemas.d.cts:54
Parameters
def
boolean
Returns
ZodCatch<ZodCoercedBoolean<T>>