isInt8Array - Node documentation
function isInt8Array

Usage in Deno

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