Skip to main content
isInt8Array - node__util--types.d.ts - Node documentation
function isInt8Array

Usage in Deno

```typescript import { isInt8Array } from "node:node__util--types.d.ts"; ```
isInt8Array(object: unknown): object is Int8Array
Returns `true` if the value is a built-in [`Int8Array`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Int8Array) instance. ```js util.types.isInt8Array(new ArrayBuffer()); // Returns false util.types.isInt8Array(new Int8Array()); // Returns true util.types.isInt8Array(new Float64Array()); // Returns false ```

Parameters

object: unknown

Return Type

object is Int8Array