MCPcopy Index your code
hub / github.com/Shopify/go-lua / abs

Function abs

code.go:254–259  ·  view source on GitHub ↗
(i int)

Source from the content-addressed store, hash-verified

252}
253
254func abs(i int) int {
255 if i < 0 {
256 return -i
257 }
258 return i
259}
260
261func max(a, b int) int {
262 if a > b {

Callers 1

fixJumpMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected