Type Alias ExclusiveMaximum<Value>

ExclusiveMaximum<Value>: TagBase<{
    exclusive: ["exclusiveMaximum", "maximum"];
    kind: "exclusiveMaximum";
    schema: Value extends bigint
        ? {
            exclusiveMaximum: true;
            maximum: Numeric<Value>;
        }
        : {
            exclusiveMaximum: true;
            maximum: Value;
        };
    target: Value extends bigint
        ? "bigint"
        : "number";
    validate: `$input < ${Cast<Value>}`;
    value: Value;
}>

Type Parameters

  • Value extends number | bigint