@annexe/array.istypedarray
v0.1.1
Published
A function to check if value is a TypedArray.
Downloads
2
Readme
@annexe/istypedarray
A function to check if value is a TypedArray.
Installation
To install @annexe/istypedarray
Yarn
yarn add @annexe/istypedarray
NPM
npm install @annexe/istypedarray
Usage
import { isTypedArray } from '@annexe/istypedarray';
console.log(isTypedArray(123)); // logs FALSE
console.log(isTypedArray(new Int8Array()); // logs TRUE