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