@jsfkit/types
    Preparing search index...

    Type Alias CFCompareRule

    CFCompareRule: CFStyleRuleBase & {
        formulas: [string] | [string, string];
        operator:
            | "lessThan"
            | "lessThanOrEqual"
            | "equal"
            | "notEqual"
            | "greaterThanOrEqual"
            | "greaterThan"
            | "between"
            | "notBetween";
        type: "compare";
    }

    Format cells based on comparing the cell value to one formula, or to two for between and notBetween. Text is compared case-insensitively.

    Type Declaration

    • formulas: [string] | [string, string]

      Formulas whose results the cell value is compared to.

      Two formulas (lower and upper bounds) are required when operator is between or notBetween. Only one formula for every other operator. Formulas must not include a leading =. Relative references are resolved as described in CFRuleBase.ref.

    • operator:
          | "lessThan"
          | "lessThanOrEqual"
          | "equal"
          | "notEqual"
          | "greaterThanOrEqual"
          | "greaterThan"
          | "between"
          | "notBetween"

      How the cell value is compared to formulas.

    • type: "compare"

      Type discriminator.