Kotlin
Kotlin copied to clipboard
Create array algorithms to remove items
Today I had a problem to remove all elements in an arrayList because the generic kotlin 'removeAll' needs a paramater as argument. So I decide create an extension function to removeAll elements in an arrayList without paramaters.