kotest-assertions-core / io.kotest.matchers.collections / kotlin.Array / shouldBeSortedWith

shouldBeSortedWith

infix fun <T> Array<T>.shouldBeSortedWith(comparator: Comparator<in T>): Unit
infix fun <T> Array<T>.shouldBeSortedWith(cmp: (T, T) -> Int): Unit