repo
replacements.fyi

// package

is-typedarray

type: "module"

// preferences

// replacements (1)

snippet::is-typed-array

Simple or drop-in replacement

This package is no longer necessary. You can check if a value is a Typed Array using `ArrayBuffer.isView` and checking if it is not a `DataView`.

// example

const isTypedArray = (v) =>
	ArrayBuffer.isView(v) &&
	!(v instanceof DataView);