bupkis
    Preparing search index...

    Interface $ZodIssueTooSmall<Input>

    interface $ZodIssueTooSmall<Input = unknown> {
        code: "too_small";
        origin:
            | "string"
            | "number"
            | "bigint"
            | "int"
            | "date"
            | "file"
            | "array"
            | "set"
            | string & {};
        minimum: number
        | bigint;
        inclusive?: boolean;
        exact?: boolean;
        input?: Input;
        path: PropertyKey[];
        message: string;
    }

    Type Parameters

    • Input = unknown

    Hierarchy (View Summary)

    Index

    Properties

    code: "too_small"
    origin:
        | "string"
        | "number"
        | "bigint"
        | "int"
        | "date"
        | "file"
        | "array"
        | "set"
        | string & {}
    minimum: number | bigint
    inclusive?: boolean

    True if the allowable range includes the minimum

    exact?: boolean

    True if the allowed value is fixed (e.g. z.length(5)), not a range (z.minLength(5))

    input?: Input
    path: PropertyKey[]
    message: string