count values, nearest to the source first
computeFillValues([1, 2], 3); // [3, 4, 5]
computeFillValues([5], 3); // [5, 5, 5]
computeFillValues([5], 3, false, "alternate"); // [6, 7, 8]
computeFillValues(["2026-10-14"], 2); // ["2026-10-15", "2026-10-16"]
computeFillValues(["Item 9"], 2); // ["Item 10", "Item 11"]
computeFillValues([1, 2], 2, true); // [0, -1] (filled upwards)
1.1.96
Computes the values of a fill (fill handle, Ctrl/⌘+D):
countvalues that continuesourceValues– forward (down/right) or backward (up/left: the value directly in front of the source first)."auto""alternate"51, 22026-10-14(Dateor ISO text)Item 9Item 10,Item 11(leading zeros stay)A, B→A, B, A, BThe type stays: a date text stays a text in the same format, a
Datestays aDate, a number written as text stays a text. Decimal noise is rounded (0.1, 0.2 → 0.3, not 0.30000000000000004).