ixfx
    Preparing search index...
    • Enumerate columns of grid, returning all the cells in the same column as an array.

      for (const col of Grid.As.columns(grid)) {
      }

      Use Grid.values to convert into values

      for (const value of Grid.values(Grid.As.columns(grid))) {
      }

      In the case of jagged arrays, it might be that some rows don't have column as long as its peers. In those cases, it returns PlaceholderCell ({x: NaN, y: NaN}) for those positions.

      Parameters

      Returns Generator<GridCell[], void, unknown>