Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DNAProject/DNA
/ IsZero
Method
IsZero
vm/neovm/types/int_value.go:144–150 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
142
}
143
144
func
(self *IntValue) IsZero() bool {
145
if
self.isbig {
146
return
self.bigint.Sign() == 0
147
}
else
{
148
return
self.integer == 0
149
}
150
}
151
152
func
(self *IntValue) Sign() int {
153
if
self.isbig {
Callers
2
Mod
Method · 0.80
Div
Method · 0.80
Calls
1
Sign
Method · 0.80
Tested by
no test coverage detected