func (mm *FastStringAppleMap) Forall(p func(string, Apple) bool) bool {
	if mm == nil {
		return true
	}

	for k, v := range mm.m {
		if !p(k, v) {
			return false
		}
	}

	return true
}
// Forall applies the predicate p to every element in the map. If the function returns false,
// the iteration terminates early. The returned value is true if all elements were visited,
// or false if an early return occurred.
//
// Note that this method can also be used simply as a way to visit every element using a function
// with some side-effects; such a function must always return true.
Forall applies the predicate p to every element in the map. If the function returns false,
the iteration terminates early. The returned value is true if all elements were visited,
or false if an early return occurred.

Note that this method can also be used simply as a way to visit every element using a function
with some side-effects; such a function must always return true.
// Forall applies the predicate p to every element in the map . If the function returns false // the iteration terminates early . The returned value is true if all elements were visited // or false if an early return occurred . // // Note that this method can also be used simply as a way to visit every element using a function // with some side - effects ; such a function must always return true .
func (mm *FastStringAppleMap) Forall(p func(string, Apple) bool) bool {
	if mm == nil {
		return true
	}
	for k, v := range mm.m {
		if !p(k, v) {
			return false
		}
	}
	return true
}
func ( mm * FastStringAppleMap ) Forall ( p func ( string , Apple ) bool ) bool { if mm == nil { return true } for k , v := range mm . m { if ! p ( k , v ) { return false } } return true }
Forall applies the predicate p to every element in the map.
Forall applies the predicate p to every element in the map .