Skip to main content
Module

x/structurae/binary-grid.ts>BinaryGrid#getIndex

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

Returns the index of an item holding the bit at given coordinates.

Parameters

row: number

the row index

optional
column = [UNSUPPORTED]

the column index

Returns

number

the item index