Newtonian Physics Mockumentary
Learn about our RFC process, Open RFC meetings & more.Join in the discussion! »

is-data-view-x

2.1.2 • Public • Published

Travis status Dependency status devDependency status npm version jsDelivr hits bettercodehub score Coverage Status

is-data-view-x

Detect whether or not an object is a DataView.

module.exports(object)boolean

Determine if an object is an DataView.

Kind: Exported function
Returns: boolean - true if the object is a DataView, else false.

Param Type Description
object * The object to test.

Example

import isDataView from 'is-data-view-x';
 
const ab = new ArrayBuffer(4);
const dv = new DataView(ab);
 
isDataView(ab); // false
isDataView(true); // false
isDataView(dv); // true

Install

npm i is-data-view-x

DownloadsWeekly Downloads

224

Version

2.1.2

License

MIT

Unpacked Size

326 kB

Total Files

11

Last publish

Collaborators

  • avatar