@jsfkit/types
    Preparing search index...

    Type Alias CFRankRule

    CFRankRule: CFStyleRuleBase & {
        count: integer;
        direction?: "top" | "bottom";
        type: "rank";
        unit?: "cells" | "percent";
    }

    Format cells whose values are among the highest or lowest in ref, depending on direction.

    Type Declaration

    • count: integer

      How many cells to format, as a count or a percentage of the cells, depending on unit.

      When unit is percent the maximum is 100.

    • Optionaldirection?: "top" | "bottom"

      Whether to take the highest values (when direction is top) or the lowest values (when direction is bottom).

      "top"
      
    • type: "rank"

      Type discriminator.

    • Optionalunit?: "cells" | "percent"

      Whether count is a number of cells or a percentage of the cells in ref.

      "cells"