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

    Interface $ZodCheckLengthEqualsInternals<T>

    interface $ZodCheckLengthEqualsInternals<T extends HasLength = HasLength> {
        def: $ZodCheckLengthEqualsDef;
        issc: $ZodIssueTooBig<T> | $ZodIssueTooSmall<T>;
        onattach: ((schema: $ZodType) => void)[];
        when?: (payload: ParsePayload) => boolean;
        check(payload: ParsePayload<T>): MaybeAsync<void>;
    }

    Type Parameters

    Hierarchy (View Summary)

    Index

    Properties

    Methods

    Properties

    The set of issues this check might throw.

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

    Methods