is-array-buffer-x

Detect whether or not an object is an ArrayBuffer.

MIT 40 个版本
安装
npm install is-array-buffer-x
yarn add is-array-buffer-x
pnpm add is-array-buffer-x
bun add is-array-buffer-x
README

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

is-array-buffer-x

Detect whether or not an object is an ArrayBuffer.

module.exports(object)boolean

Determine if an object is an ArrayBuffer.

Kind: Exported function
Returns: boolean - true if the object is an ArrayBuffer, else false`.

Param Type Description
object * The object to test.

Example

import isArrayBuffer from 'is-array-buffer-x';

console.log(isArrayBuffer(new ArrayBuffer(4))); // true
console.log(isArrayBuffer(null)); // false
console.log(isArrayBuffer([])); // false
版本列表
2.1.2 2019-08-28
2.1.1 2019-08-20
2.1.0 2019-08-14
2.0.14 2019-08-05
2.0.13 2019-07-31
2.0.12 2019-07-27
2.0.11 2019-07-27
2.0.10 2019-07-26
2.0.9 2019-07-25
2.0.8 2019-07-24
2.0.7 2019-07-24
2.0.6 2019-07-22
2.0.5 2019-07-21
2.0.4 2019-07-19
2.0.3 2019-07-18
2.0.2 2019-07-18
2.0.1 2019-07-17
2.0.0 2019-07-16
1.7.0 2017-09-14
1.6.0 2017-09-12
1.5.0 2017-09-12
1.4.0 2017-08-16
1.3.0 2017-07-13
1.2.1 2017-03-29
1.2.0 2017-03-29
1.1.0 2017-03-13
1.0.13 2016-02-15
1.0.12 2016-02-13
1.0.11 2016-02-03
1.0.10 2016-01-25
1.0.9 2016-01-25
1.0.8 2016-01-25
1.0.7 2016-01-21
1.0.6 2016-01-12
1.0.5 2016-01-05
1.0.4 2016-01-04
1.0.3 2015-12-17
1.0.2 2015-12-14
1.0.1 2015-12-13
1.0.0 2015-12-11