Skip to main content

Function: _properties()

_properties<Shape>(shape, params?): $ZodCheckProperties<Shape>

Defined in: packages/agentos/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/core/api.d.cts:224

Type Parameters​

Shape​

Shape extends Readonly<{[k: string]: $ZodType<unknown, unknown, $ZodTypeInternals<unknown, unknown>>; }>

Parameters​

shape​

Shape

params?​

string |

{ abort?: boolean; error?: string | $ZodErrorMap<NonNullable<$ZodIssue>>; message?: string; }

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.

Returns​

$ZodCheckProperties<Shape>