types.isInt8Array - Node documentation
function types.isInt8Array

Usage in Deno

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

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

util.types.isInt8Array(new ArrayBuffer());  // Returns false
util.types.isInt8Array(new Int8Array());  // Returns true
util.types.isInt8Array(new Float64Array());  // Returns false

Parameters

object: unknown

Return Type

object is Int8Array