Urara-Blog/node_modules/.pnpm-store/v3/files/65/6abf07896fe2fca55e1880f06b8d982237862e6caa7b432606168d511e95c6c72301c2b04b0b805a2e1e4d33f1ab9a831d52debd46c60c94112262f11a6978
2022-08-14 01:14:53 +08:00

11 lines
301 B
Text

/*!
* 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)
}