interface-forge - v2.5.0
    Preparing search index...

    Interface $ZodCheckInternals<T>

    interface $ZodCheckInternals<T> {
        def: $ZodCheckDef;
        issc?: $ZodIssueBase;
        onattach: ((schema: $ZodType) => void)[];
        when?: (payload: ParsePayload) => boolean;
        check(payload: ParsePayload<T>): MaybeAsync<void>;
    }

    Type Parameters

    • T

    Hierarchy (View Summary)

    Index

    Properties

    Methods

    Properties

    The set of issues this check might throw.

    onattach: ((schema: $ZodType) => void)[]
    when?: (payload: ParsePayload) => boolean

    Methods