fun <T> pull(property: KProperty<Iterable<T?>?>, value: T?): Bson
(source)
Creates an update that removes all instances of the given value from the array value of the property.
Parameters
Return
the update
Mongodb
.driver.manual reference/operator/update/pull/ $pull