MCPcopy Create free account
hub / github.com/dlclark/regexp2 / equalInts

Function equalInts

runner_codegen_test.go:37–47  ·  view source on GitHub ↗
(left, right []int)

Source from the content-addressed store, hash-verified

35}
36
37func equalInts(left, right []int) bool {
38 if len(left) != len(right) {
39 return false
40 }
41 for i := range left {
42 if left[i] != right[i] {
43 return false
44 }
45 }
46 return true
47}

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected