- withLogic(logic, options?): ((grid: Grid, optionsOverride?: Partial<Readonly<{
boundsWrap: GridBoundsLogic;
debug: boolean;
reversed: boolean;
start: GridCell;
visited: ISetMutable<GridCell>;
}>>) => Generator<GridCell, any, unknown>) Returns ((grid: Grid, optionsOverride?: Partial<Readonly<{
boundsWrap: GridBoundsLogic;
debug: boolean;
reversed: boolean;
start: GridCell;
visited: ISetMutable<GridCell>;
}>>) => Generator<GridCell, any, unknown>)
- (grid, optionsOverride?): Generator<GridCell, any, unknown>
Returns Generator<GridCell, any, unknown>