Returns a generator that iterates over cells with a given logic. Once created, the same logic can be used on different grids - it is a pure function.
Returns a function which creates a generator to iterate over cells with a given logic. Use create to specify this logic with a string.
Visit by following rows. Normal order is left-to-right, top-to-bottom.
Runs the provided visitor for a number of steps, returning the cell we end at
// Create visitor & stepper
const visitor = Grids.Visit.create(`row`);
const stepper = Grids.Visit.stepper(grid, visitor
Visits every cell in grid using supplied selection function.
Visits cells running down columns, left-to-right. When
reverseoption is provided, we go up columns, right-to-left instead.