types.isInt16Array - Node documentation
function types.isInt16Array

Usage in Deno

import { types } from "node:util";
const { isInt16Array } = types;
isInt16Array(object: unknown): object is Int16Array

Returns true if the value is a built-in Int16Array instance.

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