Interface ZodArrayDef<T>

interface ZodArrayDef<T extends Zod.z.ZodTypeAny = Zod.z.ZodTypeAny> {
    description?: string;
    errorMap?: Zod.z.ZodErrorMap;
    exactLength: null | { message?: string; value: number };
    maxLength: null | { message?: string; value: number };
    minLength: null | { message?: string; value: number };
    type: T;
    typeName: ZodArray;
}

Type Parameters

Hierarchy (View Summary)

Properties

description?: string
errorMap?: Zod.z.ZodErrorMap
exactLength: null | { message?: string; value: number }
maxLength: null | { message?: string; value: number }
minLength: null | { message?: string; value: number }
type: T
typeName: ZodArray