reversed

fun <T> Diff<T>.reversed(): Diff<T>(source)

Reverse this. Result will contain Diff.added on Diff.removed (and vice-verse), all the Diff.replaced values will be reversed too


fun <K, V> MapDiff<K, V>.reversed(): MapDiff<K, V>(source)

Reverse this. Result will contain MapDiff.added on MapDiff.removed (and vice-verse), all the MapDiff.changed values will be reversed too