Use ArrayBuffer.isView to detect Buffer and ArrayBuffer
This commit is contained in:
parent
eb51e080e5
commit
1c9421bc89
5 changed files with 4 additions and 38 deletions
|
@ -48,11 +48,6 @@ exports.defineProperties = function (exports) {
|
|||
get: function () {
|
||||
return require('../is-promise')
|
||||
}
|
||||
},
|
||||
isTypedArray: {
|
||||
get: function () {
|
||||
return require('../is-typed-array')
|
||||
}
|
||||
}
|
||||
})
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue