Skip to content
FutureBlitz

    Install

    Import std.collections.grid

    Grid

    std.collections.grid

    extend

    Extend Grid<T> Implements Equatable

    Compares Grids with == and !=, where their cells can be compared.

    std/collections/grid.fb, line 139

    • Operator ==(a: Grid<T>, b: Grid<T>): Bool operator #

      Whether the two are the same size, with equal values in each cell.

    extend

    Extend Grid<T> Implements Printable

    Shows a Grid in a string, as its ToString writes it.

    std/collections/grid.fb, line 150

    • Public Method ToString(): String method #

      Its rows, from the top, each as an array: "[[1, 2, 3], [4, 5, 6]]".

    Report an issue with this page or with FutureBlitz on GitHub.