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

Method PopAsMap

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

Source from the content-addressed store, hash-verified

91}
92
93func (self *ValueStack) PopAsMap() (*types.MapValue, error) {
94 val, err := self.Pop()
95 if err != nil {
96 return nil, err
97 }
98 return val.AsMapValue()
99}
100
101func (self *ValueStack) PopAsStruct() (*types.StructValue, error) {
102 val, err := self.Pop()

Callers

nothing calls this directly

Calls 2

PopMethod · 0.95
AsMapValueMethod · 0.80

Tested by

no test coverage detected