asDBPointer

fun asDBPointer(): BsonDBPointer

Gets this value as a BsonDBPointer if it is one, otherwise throws exception

Return

an BsonDBPointer

Throws

if this value is not of the expected type