isBinary

fun isBinary(key: String): Boolean

Returns true if the value of the key is a BsonBinary, returns false if the document does not contain the key.

Return

true if the value of the key is a BsonBinary, returns false if the document does not contain the key.

Parameters

key

the key