Sha256: d0dc741d4fdc90431298d7edc788426dd34ad4131e09c24973eb5c3b1df0f5bb
Contents?: true
Size: 252 Bytes
Versions: 181
Compression:
Stored size: 252 Bytes
Contents
module.exports = isBuf; /** * Returns true if obj is a buffer or an arraybuffer. * * @api private */ function isBuf(obj) { return (global.Buffer && global.Buffer.isBuffer(obj)) || (global.ArrayBuffer && obj instanceof ArrayBuffer); }
Version data entries
181 entries across 89 versions & 3 rubygems