11 lines
230 B
JavaScript
11 lines
230 B
JavaScript
/* globals Buffer */
|
|
|
|
module.exports =
|
|
c(("undefined" !== typeof Buffer) && Buffer) ||
|
|
c(this.Buffer) ||
|
|
c(("undefined" !== typeof window) && window.Buffer) ||
|
|
this.Buffer;
|
|
|
|
function c(B) {
|
|
return B && B.isBuffer && B;
|
|
} |