MCPcopy Create free account
hub / github.com/chain/txvm / opNot

Function opNot

protocol/txvm/boolean.go:3–6  ·  view source on GitHub ↗
(vm *VM)

Source from the content-addressed store, hash-verified

1package txvm
2
3func opNot(vm *VM) {
4 b := vm.popBool()
5 vm.pushBool(!b)
6}
7
8func opAnd(vm *VM) {
9 q := vm.popBool()

Callers

nothing calls this directly

Calls 2

popBoolMethod · 0.80
pushBoolMethod · 0.80

Tested by

no test coverage detected