v0.0.438
All checks were successful
Build Docker and Deploy / Run goext test-suite (push) Successful in 3m20s
All checks were successful
Build Docker and Deploy / Run goext test-suite (push) Successful in 3m20s
This commit is contained in:
@@ -477,6 +477,10 @@ func ArrRemove[T comparable](arr []T, needle T) []T {
|
||||
return arr
|
||||
}
|
||||
|
||||
func ArrRemoveAt[T any](arr []T, idx int) []T {
|
||||
return append(arr[:idx], arr[idx+1:]...)
|
||||
}
|
||||
|
||||
func ArrExcept[T comparable](arr []T, needles ...T) []T {
|
||||
r := make([]T, 0, len(arr))
|
||||
rmlist := ArrToSet(needles)
|
||||
|
Reference in New Issue
Block a user