func All[T any](elems []T, f func(a T) bool) bool {
	for _, elem := range elems {
		if !f(elem) {
			return false
		}
	}
	return true
}
// All returns true iff all elements in elem evaluate to true when passed to f.
All returns true iff all elements in elem evaluate to true when passed to f.
// All returns true iff all elements in elem evaluate to true when passed to f .
func All[T any](elems []T, f func(a T) bool) bool {
	for _, elem := range elems {
		if !f(elem) {
			return false
		}
	}
	return true
}
func All [ T any ] ( elems [ ] T , f func ( a T ) bool ) bool { for _ , elem := range elems { if ! f ( elem ) { return false } } return true }
All returns true iff all elements in elem evaluate to true when passed to f.
All returns true iff all elements in elem evaluate to true when passed to f .