mirror of
https://github.com/ReVanced/revanced-patcher.git
synced 2026-01-31 07:01:02 +00:00
8 lines
233 B
Kotlin
8 lines
233 B
Kotlin
package app.revanced.collections
|
|
|
|
actual fun <K, V> MutableMap<K, V>.kmpMerge(
|
|
key: K,
|
|
value: V,
|
|
remappingFunction: (oldValue: V, newValue: V) -> V,
|
|
) = MutableMap<K, V>::merge.call(key, value, remappingFunction) as Unit
|