1.0.1 • Published 5 years ago
@trott/istypedarray v1.0.1
isTypedArray
Utility function to check if an object is a TypedArray
Installation
npm install @trott/istypedarray
Usage
const isTypedArray = require('@trott/istypedarray');
isTypedExport(new Uint8ClampedArray([])); // true
isTypedExport('fhqwhgads'); // false