func (a *Schema) Equals(b *Schema) bool {
	if a == nil || b == nil {
		return a == nil && b == nil
	}

	if len(a.Types) != len(b.Types) {
		return false
	}
	for i := range a.Types {
		if !a.Types[i].Equals(&b.Types[i]) {
			return false
		}
	}
	return true
}
// Equals returns true iff the two Schemas are equal.
Equals returns true iff the two Schemas are equal.
// Equals returns true iff the two Schemas are equal .
func (a *Schema) Equals(b *Schema) bool {
	if a == nil || b == nil {
		return a == nil && b == nil
	}
	if len(a.Types) != len(b.Types) {
		return false
	}
	for i := range a.Types {
		if !a.Types[i].Equals(&b.Types[i]) {
			return false
		}
	}
	return true
}
func ( a * Schema ) Equals ( b * Schema ) bool { if a == nil || b == nil { return a == nil && b == nil } if len ( a . Types ) != len ( b . Types ) { return false } for i := range a . Types { if ! a . Types [ i ] . Equals ( & b . Types [ i ] ) { return false } } return true }
Equals returns true iff the two Schemas are equal.
Equals returns true iff the two Schemas are equal .