// TypedObjectEqual compares two typed objects using the unstructured type.
TypedObjectEqual compares two typed objects using the unstructured type.
// TypedObjectEqual compares two typed objects using the unstructured type .
func TypedObjectEqual(a, b TypedObjectAccessor) bool {
	if a.GetType() != b.GetType() {
		return false
	}
	uA, err := NewUnstructured(a)
	if err != nil {
		return false
	}
	uB, err := NewUnstructured(b)
	if err != nil {
		return false
	}
	return UnstructuredTypesEqual(&uA, &uB)
}
func TypedObjectEqual ( a , b TypedObjectAccessor ) bool { if a . GetType ( ) != b . GetType ( ) { return false } uA , err := NewUnstructured ( a ) if err != nil { return false } uB , err := NewUnstructured ( b ) if err != nil { return false } return UnstructuredTypesEqual ( & uA , & uB ) }
TypedObjectEqual compares two typed objects using the unstructured type.
TypedObjectEqual compares two typed objects using the unstructured type .