isDocument

fun isDocument(key: String): Boolean

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

Return

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

Parameters

key

the key