OptionalaxisThe direction of the iteration.
If axis is set to 'fastest', the implementation will automatically choose the fastest axis
for iteration based on the internal data layout of the range.
This can provide performance benefits without requiring the caller to specify the axis,
especially when the optimal axis is not known in advance.
OptionalblankHow the positions the range does not store are answered.
'each' is the sparse walk: an empty position is not visited (or, with includeEmpty,
visited with its coordinates). 'once' calls the callback a single time for every empty
position, with coords of { rowIndex: -1, colIndex: -1 } and the value an empty reads
as, and every one of them takes that answer — the IRange.zip rule. Under 'once' a
stretch of stored positions holding one value is also one call; a callback that reads only
its value gets that on its own (it cannot tell), and one that reads coords opts in here.
OptionalboundsThe bounds of the iteration.
OptionalcoerceOverrides default coercion behavior per type. When a value cannot be coerced, onError determines the fallback.
OptionalerrorIf true, coercion failure produces #VALUE! rather than silently skipping the value.
OptionalincludeIf true will visit empty cells. This is a potentially huge performance improvement if set to false.
OptionalonWhat to do when the visited value is a FormulaError.
OptionalprocessSkips columns of the range, as processRowSkip skips rows.
OptionalprocessSkips rows of the range: given the next row that would be read, answers the row to read
instead - the same row when it is read, or the next one that is (the previous, when
reverse).
The 0-based row about to be read.
Optionalreverse: boolean
Whether the read runs from the last row back.
The row to read, at or past index.
OptionalreverseIterate in reverse order.
OptionalthisUseful for callback functions that want a this.
OptionaltypeSpecifies the target type for coercion and filtering when getting or iterating values.
Options for IRange.map.