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

Usage in Deno

import { isUint32Array } from "node:util/types";
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