@@ -209,3 +209,11 @@ func toInt(value any, description string) (i int, err error) {
}
return
func ForAll[T, V any](ts []T, fn func(T) V) []V {
result := make([]V, len(ts))
for i, t := range ts {
result[i] = fn(t)
return result
The note is not visible to the blocked user.