@jsfkit/types
    Preparing search index...

    Type Alias CFTextRule

    CFTextRule: CFStyleRuleBase & {
        match: string;
        matchIsFormula?: boolean;
        operator: "contains" | "notContains" | "beginsWith" | "endsWith";
        type: "text";
    }

    Format cells whose text contains, doesn't contain, begins with, or ends with match.

    Matching is case-insensitive. For contains and notContains, ? in the text matches any single character, * matches any sequence of characters, and ~ escapes the character that follows it. beginsWith and endsWith match the text literally.

    Type Declaration

    • match: string

      The text to look for, or a formula (no leading =) producing it when matchIsFormula is true. Relative references in a formula are resolved as described in CFRuleBase.ref.

    • OptionalmatchIsFormula?: boolean

      Whether match is a formula (usually a cell reference) rather than literal text.

      false
      
    • operator: "contains" | "notContains" | "beginsWith" | "endsWith"

      How the cell's text is compared to match.

    • type: "text"

      Type discriminator.