gitlab.com/evatix-go/core@v1.3.55/internal/reflectinternal/IsAnyEqual.go (about)

     1  package reflectinternal
     2  
     3  import (
     4  	"reflect"
     5  )
     6  
     7  func IsAnyEqual(left, right interface{}) bool {
     8  	isEqual, isConclusive := IsConclusive(left, right)
     9  
    10  	if isConclusive {
    11  		return isEqual
    12  	}
    13  
    14  	return reflect.DeepEqual(left, right)
    15  }