Update mongodb
This commit is contained in:
3
src/misc/is-objectid.ts
Normal file
3
src/misc/is-objectid.ts
Normal file
@@ -0,0 +1,3 @@
|
||||
export default function(x: any): boolean {
|
||||
return x.hasOwnProperty('toHexString') || x.hasOwnProperty('_bsontype');
|
||||
}
|
Reference in New Issue
Block a user