• Yield all the values of a grid, left-to-right, top-to-bottom.

    This is just a wrapper around Grids.values:

    yield* values(grid, cells(grid, start, wrap));
    

    See also:

    • cells: Iterate over cell coordinates
    • cellsAndValues: Iterate over pairs of cell coordinates and cell values

    Type Parameters

    • T

    Parameters

    Returns Generator<T, void, unknown>