isString

fun isString(key: String): Boolean

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

Return

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

Parameters

key

the key