Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
1
package
txvm
2
3
func
opNot(vm *VM) {
4
b := vm.popBool()
5
vm.pushBool(!b)
6
}
7
8
func
opAnd(vm *VM) {
9
q := vm.popBool()
Callers
nothing calls this directly
Calls
2
popBool
Method · 0.80
pushBool
Method · 0.80
Tested by
no test coverage detected