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

Usage in Deno

import { types } from "node:util";
isUint32Array(object: unknown): object is Uint32Array

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

util.types.isUint32Array(new ArrayBuffer());  // Returns false
util.types.isUint32Array(new Uint32Array());  // Returns true
util.types.isUint32Array(new Float64Array());  // Returns false

Parameters

object: unknown

Return Type

object is Uint32Array
Back to top