kotlin.collections.filterIndexed
filterIndexed
inline fun <T> Iterable<T>.filterIndexed( predicate: (index: Int, T) -> Boolean ): List<T>
inline fun <T> Array<out T>.filterIndexed( predicate: (index: Int, T) -> Boolean ): List<T>
inline fun ByteArray.filterIndexed( predicate: (index: Int, Byte) -> Boolean ): List<Byte>
inline fun ShortArray.filterIndexed( predicate: (index: Int, Short) -> Boolean ): List<Short>
inline fun IntArray.filter