Skip to content
Ubiquev1.0.4
functionmatrixShape
matrixShape(a: number[][]): [number, number]

Validate once at the numeric API boundary.

Parameters

a: number[][]

Return Type

[number, number]

Usage

import { matrixShape } from "internal/matrix.ts";