isTypedArray - Node documentation
function isTypedArray

Usage in Deno

import { isTypedArray } from "node:util/types";
isTypedArray(object: unknown): object is TypedArray

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

util.types.isTypedArray(new ArrayBuffer());  // Returns false
util.types.isTypedArray(new Uint8Array());  // Returns true
util.types.isTypedArray(new Float64Array());  // Returns true

See also ArrayBuffer.isView().

Parameters

object: unknown

Return Type

object is TypedArray