@karmaniverous/get-dotenv
    Preparing search index...

    Interface $ZodArrayInternals<T>

    interface $ZodArrayInternals<T extends SomeType = z.core.$ZodType> {
        bag: Record<string, unknown>;
        constr: new (def: any) => z.core.$ZodType;
        def: $ZodArrayDef<T>;
        deferred: AnyFunc[] | undefined;
        input: z.core.input<T>[];
        isst: $ZodIssueInvalidType;
        optin?: "optional";
        optout?: "optional";
        output: z.core.output<T>[];
        parent?: z.core.$ZodType<
            unknown,
            unknown,
            $ZodTypeInternals<unknown, unknown>,
        >;
        pattern: RegExp | undefined;
        propValues?: PropValues;
        toJSONSchema?: () => unknown;
        traits: Set<string>;
        values?: PrimitiveSet;
        version: { major: 4; minor: 1; patch: number };
        parse(
            payload: ParsePayload<any>,
            ctx: ParseContextInternal,
        ): MaybeAsync<ParsePayload<unknown>>;
        run(
            payload: ParsePayload<any>,
            ctx: ParseContextInternal,
        ): MaybeAsync<ParsePayload<unknown>>;
    }

    Type Parameters

    Hierarchy (View Summary)

    Index

    Properties

    bag: Record<string, unknown>

    A catchall object for bag metadata related to this schema. Commonly modified by checks using onattach.

    constr: new (def: any) => z.core.$ZodType

    The constructor function of this schema.

    Schema definition.

    deferred: AnyFunc[] | undefined

    List of deferred initializers.

    input: z.core.input<T>[]

    The set of issues this schema might throw during type checking.

    optin?: "optional"
    optout?: "optional"
    output: z.core.output<T>[]
    parent?: z.core.$ZodType<unknown, unknown, $ZodTypeInternals<unknown, unknown>>

    The parent of this schema. Only set during certain clone operations.

    pattern: RegExp | undefined

    This flag indicates that a schema validation can be represented with a regular expression. Used to determine allowable schemas in z.templateLiteral().

    propValues?: PropValues

    A set of literal discriminators used for the fast path in discriminated unions.

    toJSONSchema?: () => unknown

    An optional method used to override toJSONSchema logic.

    traits: Set<string>

    Stores identifiers for the set of traits implemented by this schema.

    values?: PrimitiveSet

    The set of literal values that will pass validation. Must be an exhaustive set. Used to determine optionality in z.record().

    Defined on: enum, const, literal, null, undefined Passthrough: optional, nullable, branded, default, catch, pipe Todo: unions?

    version: { major: 4; minor: 1; patch: number }

    The @zod/core version of this schema

    Methods