...

Source file src/github.com/noirbizarre/gonja/utils/maths.go

Documentation: github.com/noirbizarre/gonja/utils

     1  package utils
     2  
     3  func Max(a, b int) int {
     4  	if a > b {
     5  		return a
     6  	}
     7  	return b
     8  }
     9  
    10  func Min(a, b int) int {
    11  	if a < b {
    12  		return a
    13  	}
    14  	return b
    15  }
    16  

View as plain text