This commit is contained in:
alexander.nutz
2024-03-25 09:19:27 +01:00
parent b3150fd948
commit 6e9300fac6
18 changed files with 418 additions and 364 deletions

View File

@@ -0,0 +1,13 @@
package blitz.collections
fun <T> MutableList<T>.removeFirst(count: Int) {
repeat(count) {
removeFirst()
}
}
fun <T> MutableList<T>.removeLast(count: Int) {
repeat(count) {
removeLast()
}
}