UNPKG

@arayutw/matrix-pointer

Version:

This is a library that assists in focusing on any position of a matrix and moving relative or absolute to that position.

3 lines (2 loc) 146 B
import { Matrix, Position } from "./class"; export declare function getPosition(matrix: Matrix, id: unknown, fallback: boolean): null | Position;