syncWithList

fun <T> MutableList<T>.syncWithList(list: List<T>)

Utility extension function to synchronise elements of the MutableList.