Initial commit
This commit is contained in:
commit
d7af9332c1
1674 changed files with 119641 additions and 0 deletions
11
node_modules/is-buffer/index.js
generated
vendored
Normal file
11
node_modules/is-buffer/index.js
generated
vendored
Normal file
|
@ -0,0 +1,11 @@
|
|||
/*!
|
||||
* Determine if an object is a Buffer
|
||||
*
|
||||
* @author Feross Aboukhadijeh <https://feross.org>
|
||||
* @license MIT
|
||||
*/
|
||||
|
||||
module.exports = function isBuffer (obj) {
|
||||
return obj != null && obj.constructor != null &&
|
||||
typeof obj.constructor.isBuffer === 'function' && obj.constructor.isBuffer(obj)
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue