to

Creates an update Bson.

Return

The update bson.

Author

Jan Müller

Parameters

<receiver>
The target KProperty.
newValue
The value to be set.
T
The type of the value.
infix fun <T : Any?> KProperty<T>.to(newValue: T): Bson