4 lines
119 B
TypeScript
4 lines
119 B
TypeScript
export default function(x: any): boolean {
|
|
return x.hasOwnProperty('toHexString') || x.hasOwnProperty('_bsontype');
|
|
}
|