Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/CodisLabs/codis
/ IsTrue
Method
IsTrue
pkg/utils/sync2/atomic2/bool.go:14–16 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
12
}
13
14
func
(b *Bool) IsTrue() bool {
15
return
b.c.Int64() != 0
16
}
17
18
func
(b *Bool) IsFalse() bool {
19
return
b.c.Int64() == 0
Callers
4
Bool
Method · 0.95
IsBroken
Method · 0.80
SlotActionPrepareFilter
Method · 0.80
newSlotActionExecutor
Method · 0.80
Calls
1
Int64
Method · 0.45
Tested by
no test coverage detected