MCPcopy 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
144func (self *IntValue) IsZero() bool {
145 if self.isbig {
146 return self.bigint.Sign() == 0
147 } else {
148 return self.integer == 0
149 }
150}
151
152func (self *IntValue) Sign() int {
153 if self.isbig {

Callers 2

ModMethod · 0.80
DivMethod · 0.80

Calls 1

SignMethod · 0.80

Tested by

no test coverage detected