Skip to main content

Function: _maxSize()

_maxSize(maximum, params?): $ZodCheckMaxSize<HasSize>

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

Parameters​

maximum​

number

params?​

string |

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

abort?​

boolean

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

error?​

string | $ZodErrorMap<$ZodIssueTooBig<HasSize>>

message?​

string

Deprecated

This parameter is deprecated. Use error instead.

Returns​

$ZodCheckMaxSize<HasSize>