Skip to main content
Module

x/structurae/index.ts>BinaryGrid.getLength

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

Returns the length of the underlying TypedArray required to hold a grid of specified dimensions.

Parameters

rows: number

the amount of rows

optional
columns = [UNSUPPORTED]

the amount of columns

Returns

number

the required length