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