OptionaladdressThe containing range coords for the scan.
OptionalaxisThe direction of the scan.
OptionalfeaturesThe features the iteration resolves and visits.
Two effects, both wins for a caller that does not need everything:
features scan that excludes Fill — the render
path that only paints content stops receiving cells with nothing to paint.An empty list is the raw-value fast path — no feature state is resolved at all.
OptionalignoreWhen scanning skip cells that are hidden via headers.
OptionalincludeIf true will visit empty cells.
This is a potentially huge performance improvement if set to false.
OptionalincludeIncludes any merge overflow in first element visited.
OptionalinjectInject custom references for the iterator.
This is used to allow for iterators to inject custom references.
OptionalreuseIf set to true a single IteratorContext is reused for every visited cell instead of
allocating a new one per cell.
This is a performance optimization for hot read paths (e.g. rendering).
UNSAFE for consumers that retain the context (or the Entry) past the next next()
call - the retained reference will reflect the most recently visited cell, not the one it was
captured at. Only enable this when the context is consumed inline within the visitor/loop body
(e.g. by calling getCell(), which snapshots the state).
OptionalreverseIterate in reverse order.
Options for customizing how values are retrieved from a range and returned as a 2D array.