mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-05-03 23:06:20 +02:00
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