kmongo / org.litote.kmongo.util / kotlin.Any / idValue

idValue

val Any?.idValue: Any? (source)

Returns the Mongo Id value (which can be null), or null if no id property is found.