ixfx
Preparing search index...
@ixfx/geometry
Grids
By
cellsAndValues
Function cellsAndValues
cellsAndValues
<
T
>
(
grid
:
GridReadable
<
T
>
,
start
?:
GridCell
,
wrap
?:
boolean
,
)
:
Generator
<
GridCellAndValue
<
T
>
>
Yield all cell coordinates and values of a grid, left-to-right, top-to-bottom
See also:
cells
: Iterate over cell coordinates
cellValues
: Iterate over cell values
Type Parameters
T
Parameters
grid
:
GridReadable
<
T
>
Optional
start
:
GridCell
wrap
:
boolean
= true
Returns
Generator
<
GridCellAndValue
<
T
>
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
ixfx
Loading...
Yield all cell coordinates and values of a grid, left-to-right, top-to-bottom
See also: