A few moments ago, when I was studying Kotlin github relay, I found something interesting: now Kotlin now has a header keyword.
CollectionsH.kt :
open header class ArrayList<E> : MutableList<E> { //... header inline fun <reified T> Array<out T>?.orEmpty(): Array<out T>
What does it mean? Is this some kind of public function or an internal function to help develop stdlib?
EDIT: There seems to be an impl
keyword that works along with the header. What is it?
source share