Skip to content
Sheetwrite

Sheetwrite / Documentation

ConditionalFormatPredicate@sheetwrite/core

Predicate used to decide whether a conditional format applies.

Predicate used to decide whether a conditional format applies.

Variants 4

{ kind: "greaterThan"; value: number }
{ kind: "lessThan"; value: number }
{ kind: "equal"; value: CellScalar }
{ kind: "contains"; text: string; matchCase?: boolean }

Declaration

View full TypeScript declaration
export type ConditionalFormatPredicate =
| {
kind: "greaterThan";
value: number;
}
| {
kind: "lessThan";
value: number;
}
| {
kind: "equal";
value: CellScalar;
}
| {
kind: "contains";
text: string;
matchCase?: boolean;
};