-
Notifications
You must be signed in to change notification settings - Fork 0
int16 array
Nicholas Berlette edited this page Jun 19, 2025
·
1 revision
function isInt16Array(it: unknown): it is Int16Array;Check if the given value is a Int16Array instance.
| Name | Info |
|---|---|
it |
The value to check. |
true if the value is a Int16Array instance, false otherwise.
Binary Data Structures
import { isInt16Array } from "jsr:@nick/is/int16array";
const arr = new Int16Array(8);
isInt16Array(arr); // true
isInt16Array(arr.buffer); // false