kotest-assertions / io.kotest.inspectors / kotlin.Array / forExactly

forExactly

fun <T> Array<T>.forExactly(k: Int, fn: (T) -> Unit): Array<T>