computeAndRemove

inline fun <K, V> MutableMap<K, V>.computeAndRemove(key: K, crossinline onRemove: suspend V.() -> Unit): Boolean

See also