title: Why isn't onEach function defined for Kotlin Arrays?
body: <p>The <code>Collection</code> API contains the <code>onEach</code> function (<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/on-each.html" rel="nofollow noreferrer">https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/on-each.html</a>) which behaves like a non terminal sibling of <code>forEach</code>.</p>
  <p>Why isn't <code>onEach</code> defined for <code>Array</code>s?</p>
  <p><strong>Edit</strong>: I guess the system works and the feature is available since 1.4. See <a href="https://youtrack.jetbrains.com/issue/KT-28290" rel="nofollow noreferrer">https://youtrack.jetbrains.com/issue/KT-28290</a></p>