Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ByteArena/box2d
/ MinInt
Function
MinInt
CommonUtils.go:3–8 ·
view source on GitHub ↗
(x, y int)
Source
from the content-addressed store, hash-verified
1
package
box2d
2
3
func
MinInt(x, y int) int {
4
if
x < y {
5
return
x
6
}
7
return
y
8
}
9
10
func
MaxInt(x, y int) int {
11
if
x > y {
Callers
2
Set
Method · 0.85
QueryCallback
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected