X Tutup
The Wayback Machine - https://web.archive.org/web/20201205113104/https://github.com/Xotic750/is-array-buffer-x
Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

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
You can’t perform that action at this time.
X Tutup