Skip to main content
types.isInt32Array - util - Node documentation
function types.isInt32Array

Usage in Deno

import { types } from "node:util";
isInt32Array(object: unknown): object is Int32Array

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

util.types.isInt32Array(new ArrayBuffer());  // Returns false
util.types.isInt32Array(new Int32Array());  // Returns true
util.types.isInt32Array(new Float64Array());  // Returns false

Parameters

object: unknown

Return Type

object is Int32Array
Back to top