indexOfOrNull on Array and List

Hi,

i wonder if this is somehow planned to add such extension to Array and List like indexOfOrNull() similar to already existing fun String.indexOfOrNull

What?

Sorry i wasn’t precise. This fun String.indexOfOrNull I’ve found here https://github.com/JetBrains/kotlin/blob/master/core/util.runtime/src/org/jetbrains/kotlin/utils/addToStdlib.kt.
But main point is to discuss adding such extensions like

public fun <@kotlin.internal.OnlyInputTypes T> Array<out T>.indexOfOrNull(element: T): Int? =
    indexOf(T).takeIf(it >= 0)
public fun <@kotlin.internal.OnlyInputTypes T> Iterable<T>.indexOfOrNull(element: T): Int? =
    indexOf(T).takeIf(it >= 0)