Sign in
cobalt
/
cobalt
/
3cd5432aaed8f14f27f66ade1b51aa71df939492
/
.
/
third_party
/
devtools
/
node_modules
/
util
/
support
/
isBufferBrowser.js
blob: 0e1bee1eb05ee7034ccf28d501279db365d18bc1 [
file
] [
log
] [
blame
]
module
.
exports
=
function
isBuffer
(
arg
)
{
return
arg
&&
typeof
arg
===
'object'
&&
typeof
arg
.
copy
===
'function'
&&
typeof
arg
.
fill
===
'function'
&&
typeof
arg
.
readUInt8
===
'function'
;
}