deno.land / x / mongoose@6.7.5 / lib / helpers / isBsonType.js

نووسراو ببینە
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
'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;
mongoose

Version Info

Tagged at
a year ago