@sheetwrite/coretype
One column's filter predicate. All active column filters AND together; matching is against the cell's resolved value (text or number).
Variants 5
{ kind: "contains"; text: string; matchCase?: boolean }{ kind: "compare"; op: "gt" | "gte" | "lt" | "lte" | "eq" | "neq"; value: number;}{ kind: "empty" }{ kind: "nonEmpty" }Declaration
View full TypeScript declaration
export type ColumnFilter = | { kind: "values"; } | { kind: "contains"; text: string; matchCase?: boolean; } | { kind: "compare"; op: "gt" | "gte" | "lt" | "lte" | "eq" | "neq"; value: number; } | { kind: "empty"; } | { kind: "nonEmpty"; };