Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/chain/txvm
/ isEmpty
Method
isEmpty
protocol/txvm/stack.go:51–53 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
49
}
50
51
func
(s *stack) isEmpty() bool {
52
return
len(*s) == 0
53
}
54
55
func
(s *stack) roll(n int64) error {
56
if
n < 0 || n >= int64(len(*s)) {
Callers
2
validate
Method · 0.80
Resumer
Function · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected