gitlab.com/evatix-go/core@v1.3.55/coremath/MinInt.go (about)

     1  package coremath
     2  
     3  func MinInt(int1, int2 int) int {
     4  	if int1 > int2 {
     5  		return int2
     6  	}
     7  
     8  	return int1
     9  }