Function: getConfig()

getConfig(schema): TypeOrFieldConfig | undefined

Get configuration object from ZodEffects schema

Parameters

schema: ZodType<any, ZodTypeDef, any>

Returns

TypeOrFieldConfig | undefined

Configuration object.

Defined in

packages/zod/src/metadata.ts:134