groupware: add suppliers support for object changes

This commit is contained in:
Pascal Bleser
2026-06-25 16:58:07 +02:00
parent 943d5dc462
commit e1bd8e285f
9 changed files with 339 additions and 49 deletions

View File

@@ -397,3 +397,12 @@ func Flatten[T any](s [][]T) []T {
}
return result
}
func AllMatch[T any](s []T, predicate func(e T) bool) bool {
for _, e := range s {
if !predicate(e) {
return false
}
}
return true
}