clear

inline suspend fun <V> MutableCollection<V>.clear(crossinline onRemove: suspend V.() -> Unit)

See also


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

See also