first
This commit is contained in:
10
node_modules/@11ty/eleventy-utils/src/Buffer.js
generated
vendored
Normal file
10
node_modules/@11ty/eleventy-utils/src/Buffer.js
generated
vendored
Normal file
@ -0,0 +1,10 @@
|
||||
function isBuffer(inst) {
|
||||
if(typeof Buffer !== "undefined") {
|
||||
return Buffer.isBuffer(inst);
|
||||
}
|
||||
return inst instanceof Uint8Array;
|
||||
}
|
||||
|
||||
module.exports = {
|
||||
isBuffer
|
||||
}
|
||||
Reference in New Issue
Block a user