deno.land / x / mongoose@6.7.5 / lib / helpers / isBsonType.js
1234567891011121314151617'use strict';
/** * Get the bson type, if it exists * @api private */
function isBsonType(obj, typename) { return ( typeof obj === 'object' && obj !== null && obj._bsontype === typename );}
module.exports = isBsonType;
Version Info