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

forAtMostOne

fun <T> Array<T>.forAtMostOne(f: (T) -> Unit): Array<T>