gitlab.com/evatix-go/core@v1.3.55/corecmp/IsIntegersEqual.go (about)

     1  package corecmp
     2  
     3  func IsIntegersEqual(array, other []int) bool {
     4  	if array == nil && other == nil {
     5  		return true
     6  	}
     7  
     8  	if array == nil || other == nil {
     9  		return false
    10  	}
    11  
    12  	arrayPtr := &array
    13  	otherPtr := &other
    14  
    15  	return IsIntegersEqualPtr(arrayPtr, otherPtr)
    16  }