diff options
Diffstat (limited to 'src/misc/is-objectid.ts')
| -rw-r--r-- | src/misc/is-objectid.ts | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/misc/is-objectid.ts b/src/misc/is-objectid.ts deleted file mode 100644 index a77c4ee2d5..0000000000 --- a/src/misc/is-objectid.ts +++ /dev/null @@ -1,5 +0,0 @@ -import { ObjectID } from 'mongodb'; - -export default function(x: any): x is ObjectID { - return x && typeof x === 'object' && (x.hasOwnProperty('toHexString') || x.hasOwnProperty('_bsontype')); -} |