intellij-randomness / com.fwdekker.randomness / kotlin.collections.Collection / orderedEquals

orderedEquals

fun <T : Any> Collection<T>.orderedEquals(that: Collection<T>): Boolean

Returns true iff this and that have the same elements in the same order.

Parameters

T - the type of elements in the collections

that - a collection that may have the same elements in the same order as this

Return
true iff this and that have the same elements in the same order