Skip to main content

Function: mac()

mac(params?): ZodMAC

Defined in: packages/agentos/node_modules/zod/v4/classic/schemas.d.cts:260

Parameters

params?

string |

{ abort?: boolean; delimiter?: string; error?: string | $ZodErrorMap<NonNullable<$ZodIssueInvalidType<unknown> | $ZodIssueInvalidStringFormat>>; message?: string; }

abort?

boolean

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

delimiter?

string

error?

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

message?

string

Deprecated

This parameter is deprecated. Use error instead.

Returns

ZodMAC