Variable: safeEncodeAsync()
constsafeEncodeAsync: <T>(schema,value,_ctx?) =>Promise<ZodSafeParseResult<input<T>>>
Defined in: packages/agentos/node_modules/zod/v4/classic/parse.d.cts:30
Type Parameters
T
T extends $ZodType
Parameters
schema
T
value
output<T>
_ctx?
Returns
Promise<ZodSafeParseResult<input<T>>>