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

Usage in Deno

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

Parameters

object: unknown

Return Type

object is Int16Array