PHP 7.4.33
Preview: index.js Size: 301 B
/usr/share/nodejs/is-buffer/index.js
/*!
 * 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)
}

Directory Contents

Dirs: 0 × Files: 3
Name Size Perms Modified Actions
63 B lrw-r--r-- 2020-11-03 19:19:27
Edit Download
301 B lrw-r--r-- 2020-11-03 19:19:27
Edit Download
1.07 KB lrw-r--r-- 2020-11-03 19:19:27
Edit Download
If ZipArchive is unavailable, a .tar will be created (no compression).