Functions

f
assertarray(x: unknown): asserts x is array

Asserts that a value is a 1D array.

Usage

import * as mod from "datatype/assertarray.ts";