Skip to content
FutureBlitz

    Install

    Import std.collections.grid

    Grid3

    std.collections.grid

    extend

    Extend Grid3<T> Implements Equatable

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

    std/collections/grid.fb, line 309

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

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

    extend

    Extend Grid3<T> Implements Printable

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

    std/collections/grid.fb, line 322

    • Public Method ToString(): String method #

      Its layers, each its rows as arrays: "[[[1, 2], [3, 4]], [[5, 6], [7, 8]]]".

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