MCPcopy
hub / github.com/colinhacks/zod / boolean

Function boolean

packages/zod/src/v4/classic/schemas.ts:1118–1120  ·  view source on GitHub ↗
(params?: string | core.$ZodBooleanParams)

Source from the content-addressed store, hash-verified

1116});
1117
1118export function boolean(params?: string | core.$ZodBooleanParams): ZodBoolean {
1119 return core._boolean(ZodBoolean, params);
1120}
1121
1122// bigint
1123export interface _ZodBigInt<T extends core.$ZodBigIntInternals = core.$ZodBigIntInternals> extends _ZodType<T> {

Callers 1

jsonFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected