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