MCPcopy Create free account
hub / github.com/DNAProject/DNA / PopAsArray

Method PopAsArray

vm/neovm/value_stack_conversion.go:85–91  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

83}
84
85func (self *ValueStack) PopAsArray() (*types.ArrayValue, error) {
86 val, err := self.Pop()
87 if err != nil {
88 return nil, err
89 }
90 return val.AsArrayValue()
91}
92
93func (self *ValueStack) PopAsMap() (*types.MapValue, error) {
94 val, err := self.Pop()

Callers 2

ExecuteOpMethod · 0.80
RuntimeVerifyMutiSigFunction · 0.80

Calls 2

PopMethod · 0.95
AsArrayValueMethod · 0.80

Tested by

no test coverage detected