bupkis
    Preparing search index...

    Interface $ZodCheckMultipleOfDef<T>

    interface $ZodCheckMultipleOfDef<T extends number | bigint = number | bigint> {
        check: "multiple_of";
        value: T;
        error?: $ZodErrorMap<never>;
        abort?: boolean;
        when?: (payload: ParsePayload) => boolean;
    }

    Type Parameters

    • T extends number | bigint = number | bigint

    Hierarchy (View Summary)

    Index

    Properties

    check: "multiple_of"
    value: T
    error?: $ZodErrorMap<never>
    abort?: boolean

    If true, no later checks will be executed if this check fails. Default false.

    when?: (payload: ParsePayload) => boolean

    If provided, this check will only be executed if the function returns true. Defaults to payload => z.util.isAborted(payload).