mapToArrayWithIndex

abstract fun <R> mapToArrayWithIndex(transform: (item: E, index: Int) -> R): Array<R>