(slice []T, predicate func(item T) bool)
| 66 | } |
| 67 | |
| 68 | func SliceExcept[T any](slice []T, predicate func(item T) bool) []T { |
| 69 | return SliceFilter(slice, func(item T) bool { return !predicate(item) }) |
| 70 | } |
| 71 | |
| 72 | // SliceContainsAny returns true if it finds an item in the slice where `predicate` returns true |
| 73 | func SliceContainsAny[T comparable](slice []T, predicate func(item T) bool) bool { |
no test coverage detected