Skip to main content
Module

x/structurae/binary-grid.ts>BinaryGrid.fromArrays

Data structures for high-performance JavaScript applications.
Latest
method BinaryGrid.fromArrays
import { BinaryGrid } from "https://deno.land/x/structurae@4.0.1/binary-grid.ts";

Creates a new binary grid from an array of arrays representing rows and item value of the grid.

Parameters

arrays: Array<Array<Bit>>

the array of arrays

Returns

a new binary grid