get

abstract operator fun get(field: String): BsonValue?(source)

Returns the element with named field.

This method returns null if there is no element named field. Note that if there is an element named field, and it has the value null, then a BsonValue with type BsonType.Null is returned.