mongo works

This commit is contained in:
counterweight 2025-06-01 23:23:55 +02:00
parent ae6ccd559f
commit 125107da50
Signed by: counterweight
GPG key ID: 883EDBAA726BD96C
937 changed files with 205033 additions and 2 deletions

View file

@ -0,0 +1,16 @@
'use strict';
/**
* Determines if `arg` is an object.
*
* @param {Object|Array|String|Function|RegExp|any} arg
* @api private
* @return {Boolean}
*/
module.exports = function(arg) {
return (
Buffer.isBuffer(arg) ||
Object.prototype.toString.call(arg) === '[object Object]'
);
};