node_modules/bson/dist/bson.esm.js
/**
 * Calculate the bson size for a passed in Javascript object.
 *
 * @param object - the Javascript object to calculate the BSON byte size for
 * @returns size of BSON object in bytes
 * @public
 */
Calculate the bson size for a passed in Javascript object.
@param object - the Javascript object to calculate the BSON byte size for
@returns size of BSON object in bytes
@public
Calculate the bson size for a passed in Javascript object . @param object - the Javascript object to calculate the BSON byte size for @returns size of BSON object in bytes @public
function calculateObjectSize(object, options) {
    if (options === void 0) { options = {}; }
    options = options || {};
    var serializeFunctions = typeof options.serializeFunctions === 'boolean' ? options.serializeFunctions : false;
    var ignoreUndefined = typeof options.ignoreUndefined === 'boolean' ? options.ignoreUndefined : true;
    return calculateObjectSize$1(object, serializeFunctions, ignoreUndefined);
}
function calculateObjectSize ( object , options ) { if ( options === void 0 ) { options = { } ; } options = options || { } ; var serializeFunctions = typeof options . serializeFunctions === 'boolean' ? options . serializeFunctions : false ; var ignoreUndefined = typeof options . ignoreUndefined === 'boolean' ? options . ignoreUndefined : true ; return calculateObjectSize$1 ( object , serializeFunctions , ignoreUndefined ) ; }
Calculate the bson size for a passed in Javascript object.
Calculate the bson size for a passed in Javascript object .