KtMongo
Toggle table of contents
common
Target filter
common
Switch theme
Search in API
Skip to content
KtMongo
Kotlin BSON
/
opensavvy.ktmongo.bson
/
BsonValue
/
takeIfPresent
take
If
Present
open
fun
takeIfPresent
(
)
:
BsonValue
?
(
source
)
Returns this value, unless it is undefined or
null
, in which case returns
null
.
See also
decode
Null
decode
Undefined