MCPcopy Create free account
hub / github.com/adam-hanna/arrayOperations / guard

Function guard

arrayOperations_unit_test.go:117–119  ·  view source on GitHub ↗
(i int)

Source from the content-addressed store, hash-verified

115}
116
117func guard(i int) bool {
118 return i%2 == 0
119}
120
121func TestFilter(t *testing.T) {
122 arr := []int{0, 1, 2, 3, 4}

Callers 2

FindOneFunction · 0.85
FilterFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…