Skip to content
Sheetwrite

Sheetwrite / Documentation

DataValidationComparison@sheetwrite/core

Native comparison semantics for numeric, date-serial, and text-length validation.

Native comparison semantics for numeric, date-serial, and text-length validation. Interval operands are inclusive; notBetween accepts values outside that interval.

Variants 2

{
operator: "between" | "notBetween";
min: number;
max: number;
}
{
operator:
| "equal"
| "notEqual"
| "greaterThan"
| "lessThan"
| "greaterThanOrEqual"
| "lessThanOrEqual";
value: number;
}

Declaration

View full TypeScript declaration
export type DataValidationComparison =
| {
operator: "between" | "notBetween";
min: number;
max: number;
}
| {
operator:
| "equal"
| "notEqual"
| "greaterThan"
| "lessThan"
| "greaterThanOrEqual"
| "lessThanOrEqual";
value: number;
};