MCPcopy Create free account
hub / github.com/copernet/copernicus / Empty

Method Empty

util/stack.go:11–13  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

9}
10
11func (s *Stack) Empty() bool {
12 return len(s.array) == 0
13}
14
15func (s *Stack) Push(value interface{}) {
16 s.array = append(s.array, value)

Callers 7

VerifyScriptFunction · 0.95
EvalScriptFunction · 0.95
AreInputsStandardFunction · 0.95
TestStackFunction · 0.95
TestSwapStackFunction · 0.95
TestProcessTransactionFunction · 0.80

Calls

no outgoing calls

Tested by 4

TestStackFunction · 0.76
TestSwapStackFunction · 0.76
TestProcessTransactionFunction · 0.64