asInt64

fun asInt64(): BsonInt64

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

Return

a BsonInt64

Throws

if this value is not of the expected type